Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-32689

HIGH 8.7EPSS 41%

Long-poll NDJSON body splitting causes unbounded memory allocation in Phoenix

Mitigation

  • Upgrade phoenix to 1.8.6 or later.
  • Vendor workaround: Disable the longpoll transport on all Phoenix.Socket declarations, including the LiveView /live socket, by removing or setting longpoll: false. Note that this prevents clients that cannot use WebSockets from connecting.

Who should check

  • Anyone running phoenixframework phoenix >= 1.7.0, < 1.7.22; >= 1.8.0-rc.0, < 1.8.6
  • Anyone running phoenixframework phoenix >= 2674c6ea30634667f9b09966b90269393b445953, < *

Vulnerability facts

Affected
phoenixframework phoenix >= 1.7.0, < 1.7.22; >= 1.8.0-rc.0, < 1.8.6; phoenixframework phoenix >= 2674c6ea30634667f9b09966b90269393b445953, < *
Fixed in
phoenixframework phoenix 1.7.22, phoenixframework phoenix 1.8.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.58% chance of exploitation in 30 days (percentile 41, 2026-11-26)
CWE
CWE-770
Published
Modified

Description

Allocation of Resources Without Limits or Throttling vulnerability in phoenixframework phoenix allows a denial of service via the long-poll transport's NDJSON body handling. In Phoenix.Transports.LongPoll.publish/4, when a POST request is received with Content-Type: application/x-ndjson, the request body is split on newline characters using String.split/2 with no limit on the number of resulting segments. An attacker can send a body consisting entirely of newline bytes, causing a 1:1 amplification into a list of empty binaries — a 1 MB body produces approximately one million list elements, an 8 MB body approximately 8.4 million. Each element is then walked by Enum.map, materializing another list of the same size. This exhausts BEAM memory and schedulers, crashing the node and terminating all active sessions. A session token required to reach the vulnerable endpoint is freely obtainable by any client via an unauthenticated GET request to the same URL with a matching Origin header, making this attack effectively unauthenticated. This issue affects phoenix: from 1.7.0 before 1.7.22 and from 1.8.0-rc.0 before 1.8.6.

Affected and fixed versions

Package / productAffectedFixedSource
phoenixframework phoenix>= 1.7.0, < 1.7.22; >= 1.8.0-rc.0, < 1.8.6—cvelist
phoenixframework phoenix>= 2674c6ea30634667f9b09966b90269393b445953, < *—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-32689. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-32689.md
Affected: phoenixframework phoenix >= 1.7.0, < 1.7.22; >= 1.8.0-rc.0, < 1.8.6; phoenixframework phoenix >= 2674c6ea30634667f9b09966b90269393b445953, < *
Fixed in: phoenixframework phoenix 1.7.22, phoenixframework phoenix 1.8.6

Steps:
1. Search this machine and project for phoenixframework phoenix: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-32689 being exploited?

There is no confirmed exploitation: CVE-2026-32689 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-32689?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-32689?

phoenixframework phoenix >= 1.7.0, < 1.7.22; >= 1.8.0-rc.0, < 1.8.6; phoenixframework phoenix >= 2674c6ea30634667f9b09966b90269393b445953, < *.

Is there a fix for CVE-2026-32689?

Yes. Fixed in phoenixframework phoenix 1.7.22, phoenixframework phoenix 1.8.6. Upgrade phoenix to 1.8.6 or later. Vendor workaround: Disable the longpoll transport on all Phoenix.Socket declarations, including the LiveView /live socket, by removing or setting longpoll: false. Note that this prevents clients that cannot use WebSockets from connecting.

How do I check if I'm affected by CVE-2026-32689?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors