CVE-2026-32689
published high CVSS 4.0 · 8.7Long-poll NDJSON body splitting causes unbounded memory allocation in Phoenix
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| phoenixframework | — | phoenix1.7.0 to < 1.7.22 · 1.8.0-rc.0 to < 1.8.6 · Other versions: unaffected | Affected | Not stated | EEF |
| phoenixframework | — | phoenixframework/phoenixphoenix · 2674c6ea30634667f9b09966b90269393b445953 and later (affected · git); changes: unaffected at 1a67c61ff9ce0a7711662ac7354861917a7c80f7, unaffected at 912ea181fd247c21dbcc49fb97d0053b947d81bf · Other versions: unaffected | Version-specific | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| phoenixframework | phoenix | 1.7.0 to < 1.7.22 (affected · semver)1.8.0-rc.0 to < 1.8.6 (affected · semver)Default: unaffected | EEF · cna |
| phoenixframework | phoenix | 2674c6ea30634667f9b09966b90269393b445953 and later (affected · git); changes: unaffected at 1a67c61ff9ce0a7711662ac7354861917a7c80f7, unaffected at 912ea181fd247c21dbcc49fb97d0053b947d81bfDefault: unaffected | EEF · cna |
Weaknesses
1- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
6- EEF CNA record for CVE-2026-32689 https://cna.erlef.org/cves/CVE-2026-32689.html
- Fix commit 1a67c61 in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/1a67c61ff9ce0a7711662ac7354861917a7c80f7
- Introducing commit 2674c6e in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/2674c6ea30634667f9b09966b90269393b445953
- Fix commit 912ea18 in phoenixframework/phoenix https://github.com/phoenixframework/phoenix/commit/912ea181fd247c21dbcc49fb97d0053b947d81bf
- Long-poll NDJSON body splitting causes large memory allocation in Phoenix https://github.com/phoenixframework/phoenix/security/advisories/GHSA-628h-q48j-jr6q
- OSV record EEF-CVE-2026-32689 https://osv.dev/vulnerability/EEF-CVE-2026-32689
Provider assertions
2EEF · cna
Long-poll NDJSON body splitting causes unbounded memory allocation in Phoenix
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ebe28292f30d33a238b34d6b4a8db5dadcf3c5fd50a965b117e58357625e3ca4
- Ingested
- 20 Nov 2026, 06:03:31 UTC
- Source record
- Official CVE record