cve.bz

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

8.7 highEPSS 0.5%Fix available

High (8.7) in phoenixframework phoenix. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in phoenix 1.7.22, 1.8.6.

On this page
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.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • phoenix (Hex): fixed in 1.7.22, 1.8.6

Ask an AI about this CVE

Show the promptExplain CVE-2026-32689 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-32689?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-32689?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-32689 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
phoenixframework phoenixfrom 1.7.0 before 1.7.22
phoenixframework phoenixfrom 1.8.0-rc.0 before 1.8.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-32689Hexphoenix>=1.7.0 <1.7.22
>=1.8.0-rc.0 <1.8.6
1.7.22, 1.8.6
EEF-CVE-2026-32689v1.8.5, v1.8.4, v1.8.3, v1.8.2, v1.8.1 and 26 moreno fix published
GHSA-628h-q48j-jr6qHexphoenix>=1.7.0 <1.7.221.7.22
GHSA-628h-q48j-jr6qHexphoenix>=1.8.0 <1.8.61.8.6

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON