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

- Severity: High 8.7 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-05-05T15:17:30.664Z
- Modified: 2026-11-25T17:23:02.861Z
- Also known as: GHSA-628h-q48j-jr6q, EEF-CVE-2026-32689
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- phoenix: from 1.7.0 before 1.7.22; from 1.8.0-rc.0 before 1.8.6
- phoenixframework/phoenix: from 2674c6ea30634667f9b09966b90269393b445953 before *
- phoenix (Hex): from 1.7.0 before 1.7.22; from 1.8.0 before 1.8.6; from 1.8.0-rc.0 before 1.8.6
- https://github.com/phoenixframework/phoenix: from 2674c6ea30634667f9b09966b90269393b445953 before 1a67c61ff9ce0a7711662ac7354861917a7c80f7; before 912ea181fd247c21dbcc49fb97d0053b947d81bf

## Every score

- EEF: 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`
- GitHub: CVSS:4.0 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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/phoenixframework/phoenix/security/advisories/GHSA-628h-q48j-jr6q> (advisory, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-32689.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-32689> (related, web)
- <https://github.com/phoenixframework/phoenix/commit/2674c6ea30634667f9b09966b90269393b445953> (related, web)
- <https://github.com/phoenixframework/phoenix/commit/1a67c61ff9ce0a7711662ac7354861917a7c80f7> (fix, patch, web)
- <https://github.com/phoenixframework/phoenix/commit/912ea181fd247c21dbcc49fb97d0053b947d81bf> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32689> (advisory)
- <https://github.com/phoenixframework/phoenix> (package)
- <https://hex.pm/packages/phoenix> (package)

## Sources

- CVE List: [CVE-2026-32689](https://www.cve.org/CVERecord?id=CVE-2026-32689), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-628h-q48j-jr6q](https://github.com/advisories/GHSA-628h-q48j-jr6q), CC-BY-4.0, modified 2026-05-08
- Erlang Ecosystem Foundation: [EEF-CVE-2026-32689](https://osv.dev/vulnerability/EEF-CVE-2026-32689), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-32689](https://nvd.nist.gov/vuln/detail/CVE-2026-32689), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-32689 · Whole record: https://cve.day/CVE-2026-32689.json · Rebuilt by cve.day 2026-11-25T22:59:20.605Z
