llamaCVEVulnerability Intelligence
/
phoenix

CVE-2026-32689

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

Afecta la configuración por defectoParche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
8.7
Alta
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones1.7.22 · 1.8.6
Exposición199 dDesde la divulgación, 5 may 2026, 10:17 a. m.
Detección195 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Monitoreo
Detectada
Verificada
5 may 26
17 nov 26
20 nov 26
21 nov 26
5 may 26
24 jun 26
13 ago 26
2 oct 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-32689 divulgada · CVSS 8.7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Only affects Phoenix 1.7.0 through 1.7.21 and 1.8.0-rc.0 through 1.8.5 with the longpoll transport enabled on a Phoenix.Socket. Fixed in 1.7.22 and 1.8.6.

¿Qué significa?Long-poll request bodies in NDJSON format are split in a way that lets the server allocate memory without limit. Enough of these requests can exhaust BEAM memory and schedulers, crashing the node and terminating all active sessions.
¿Quién está afectado?Phoenix 1.7.0 before 1.7.22 and 1.8.0-rc.0 before 1.8.6 are affected, but only when a Phoenix.Socket is configured with the longpoll option enabled. To check, look at the Phoenix version in your mix.lock or deps and search your Phoenix.Socket declarations, including the LiveView /live socket, for longpoll.
¿Qué hacer?Upgrade Phoenix to 1.7.22 or 1.8.6, which are the fixed versions. If you cannot upgrade yet, disable the longpoll transport on all Phoenix.Socket declarations by removing the option or setting longpoll: false.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A Phoenix.Socket is configured with the longpoll option enabled“A Phoenix.Socket must be configured with the longpoll option enabled.”
02
Phoenix versions from 1.7.0 before 1.7.22, or from 1.8.0-rc.0 before 1.8.6“from 1.7.0 before 1.7.22 and from 1.8.0-rc.0 before 1.8.6”
¿Quién debe revisar?Teams running Phoenix 1.7.x before 1.7.22 or 1.8.x before 1.8.6 with a Phoenix.Socket that has longpoll enabled, including LiveView apps using the /live socket.
MitigaciónDisable the longpoll transport on all Phoenix.Socket declarations, including the LiveView /live socket, by removing or setting longpoll: false.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
phoenix≥ 1.7.0 < 1.7.22
phoenix≥ 1.8.0-rc.0 < 1.8.6
phoenix≥ 1.8.0 < 1.8.6
1.7.0
1.7.22
1.8.0-rc.0
1.8.0
1.8.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
phoenix
Corregida 1.7.22, 1.8.6 — —
Versiones corregidas1.7.221.8.6
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALEEF
configurationA Phoenix.Socket must be configured with the longpoll option enabled. Phoenix LiveView applications enable the longpoll transport by default via the /live socket.EEF
MitigaciónDisable 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.EEF
Referencias
Fabricantehttps://github.com/phoenixframework/phoenix/security/advisories/GHSA-628h-q48j-jr6q
Parchehttps://github.com/phoenixframework/phoenix/commit/1a67c61ff9ce0a7711662ac7354861917a7c80f7
Parchehttps://github.com/phoenixframework/phoenix/commit/912ea181fd247c21dbcc49fb97d0053b947d81bf
Otrahttps://cna.erlef.org/cves/CVE-2026-32689.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-32689
Otrahttps://github.com/phoenixframework/phoenix/commit/2674c6ea30634667f9b09966b90269393b445953

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.