NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Erlang (Hex)

CVE-2026-32689: Phoenix: Long-poll NDJSON body splitting causes large memory allocation

highCVSS 4.0 8.7GHSA-628h-q48j-jr6q

Summary An unauthenticated denial-of-service vulnerability in Phoenix's long-poll transport allows a remote client to allocate a large amount of memory with a HTTP request. A handful of concurrent requests can be sufficient to let the node run out of memory. See also https://cna.erlef.org/cves/CVE-2026-32689.html.

Published May 8, 2026

Affected packages

phoenix

Ecosystem
Erlang (Hex)
Affected
>= 1.7.0, < 1.7.22
Fixed in
1.7.22

phoenix

Ecosystem
Erlang (Hex)
Affected
>= 1.8.0, < 1.8.6
Fixed in
1.8.6

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

An unauthenticated denial-of-service vulnerability in Phoenix's long-poll transport allows a remote client to allocate a large amount of memory with a HTTP request. A handful of concurrent requests can be sufficient to let the node run out of memory.

See also https://cna.erlef.org/cves/CVE-2026-32689.html.

Details

The unoptimised code path exists on the application/x-ndjson POST handling in the LongPoll transport. The endpoint requires only a session token, which any client can obtain by issuing a GET to the same URL with a matching Origin header, so exploitation is unauthenticated.

Impact

Anyone who runs a LiveView app with a public Longpoll socket or uses a Phoenix.Socket with longpoll option. Longpoll has been enabled for newly generated Phoenix projects since Phoenix 1.7.11.

Credited to PJUllrich.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Erlang (Hex) vulnerabilities

All Erlang (Hex) entries