Vulnerability EEF-CVE-2026-32689

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
6 months ago
May 05, 2026 at 03:17 PM UTC
Long-poll NDJSON body splitting causes unbounded memory allocation in Phoenix
1.7.0 - 1.7.21 and 1.8.0-rc.0 - 1.8.5
1.7.0 - 1.7.21 and 1.8.0-rc.0 - 1.8.5

Summary

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

Details

Summary

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.

Workarounds

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.

Configurations

A Phoenix.Socket must be configured with the longpoll option enabled. Phoenix LiveView applications enable the longpoll transport by default via the /live socket.

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Unknown
1 day ago
Unsanitized presence key crashes Presence tracker
1.2.0 - 1.5.15 and 1.6.0-rc.0 - 1.6.17 and 1.7.0-rc.0 - 1.7.24 and 1.8.0-rc.0 - 1.8.16 EEF-CVE-2026-128361
1.2.0 - 1.5.15 and 1.6.0-rc.0 - 1.6.17 and 1.7.0-rc.0 - 1.7.24 and 1.8.0-rc.0 - 1.8.16 EEF-CVE-2026-128361
Unknown
1 day ago
Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads
1.5.7 - 1.5.15 and 1.6.0-rc.0 - 1.6.17 and 1.7.0-rc.0 - 1.7.24 and 1.8.0-rc.0 - 1.8.16 EEF-CVE-2026-129344
1.5.7 - 1.5.15 and 1.6.0-rc.0 - 1.6.17 and 1.7.0-rc.0 - 1.7.24 and 1.8.0-rc.0 - 1.8.16 EEF-CVE-2026-129344
High Risk
2 months ago
Phoenix: Unbounded channel joins per transport enables DoS over few connections
0.11.0 - 1.5.14 and 1.6.0-rc.0 - 1.6.16 and 1.7.0-rc.0 - 1.7.23 and 1.8.0-rc.0 - 1.8.8 GHSA-6983-jfq8-485w
0.11.0 - 1.5.14 and 1.6.0-rc.0 - 1.6.16 and 1.7.0-rc.0 - 1.7.23 and 1.8.0-rc.0 - 1.8.8 GHSA-6983-jfq8-485w
Medium Risk
2 months ago
Phoenix: Presence keys colliding with `Object.prototype` members break existence checks
1.2.0-rc.0 - 1.5.14 and 1.6.0-rc.0 - 1.6.16 and 1.7.0-rc.0 - 1.7.23 and 1.8.0-rc.0 - 1.8.8 GHSA-63mc-hw7g-86rr
1.2.0-rc.0 - 1.5.14 and 1.6.0-rc.0 - 1.6.16 and 1.7.0-rc.0 - 1.7.23 and 1.8.0-rc.0 - 1.8.8 GHSA-63mc-hw7g-86rr
Unknown
4 months ago
Phoenix JavaScript presence client crashes on presence keys colliding with Object.prototype members in Presence.syncState/syncDiff
1.2.0-rc.0 - 1.5.14 and 1.6.0-rc.0 - 1.6.16 and 1.7.0-rc.0 - 1.7.23 and 1.8.0-rc.0 - 1.8.8 EEF-CVE-2026-56812
1.2.0-rc.0 - 1.5.14 and 1.6.0-rc.0 - 1.6.16 and 1.7.0-rc.0 - 1.7.23 and 1.8.0-rc.0 - 1.8.8 EEF-CVE-2026-56812
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
6 months ago
May 05, 2026 at 03:17 PM UTC
Fixed (1.8.6)
6 months ago
May 05, 2026 at 02:57 PM UTC
Fixed (1.7.22)
6 months ago
May 05, 2026 at 03:02 PM UTC
Last Modified
2 days ago
November 20, 2026 at 06:01 AM UTC