llamaCVEVulnerability Intelligence
/
Plug

CVE-2026-120287

Plug denial of service in multipart body parser

An unauthenticated attacker can exhaust server memory with a crafted multipart request.

Parche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
6.9
Media
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión1.20.4
Exposición2 dDesde la divulgación, 17 nov 2026, 11:53 a. m.
Detección45 minDesde 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
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: ENISA EUVD
Verificada
11:53 a. m.
12:38 p. m.
01:09 p. m.
01:59 a. m.
02:13 a. m.
12:56 a. m.
11:53 a. m.
03:09 a. m.
06:24 p. m.
09:40 a. m.
12:56 a. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-120287 divulgada · CVSS 6.9 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 17 nov 2026

Plug, the Elixir web library, has a flaw in its multipart body parser that lets an unauthenticated remote attacker use up a server's memory by sending a request built from parts without headers or from header lines without a name and value. The parser does not count the framing bytes against the configured length limit, so memory use can grow to several times the request size until parsing finishes.

Descripción original del registro (EEF)

Allocation of Resources Without Limits or Throttling vulnerability in Plug.Parsers.MULTIPART in elixir-plug plug allows an unauthenticated remote attacker to exhaust memory via a multipart request body built from parts without headers, or from header lines without a name and a value. The parser charges the :length limit only with the name and value bytes of each part header and the bytes of each part body. The part delimiter, the header separator, and the line endings cost nothing. In lib/plug/parsers/multipart.ex, Plug.Parsers.MULTIPART.parse_multipart_headers/5 keeps an entry for every part without a content-disposition header, together with its header list, until the whole body is read. A request made of such parts does not reach the limit at any size, and the parser process holds a multiple of the request size in memory until parsing completes. Any endpoint that uses Plug.Parsers with the :multipart parser is reachable. This issue affects plug: from 1.13.0 before 1.20.4.

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:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
plug≥ 1.13.0 < 1.20.4
1.13.0
1.20.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
plug
Corregida 1.20.4 — —
Versiones corregidas1.20.4
Explotación

Arsenal público

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

Registro
EscenarioGENERALEEF
MitigaciónLimit the request body size in a reverse proxy in front of the application, for example with client_max_body_size in nginx. The proxy rejects a larger body before it reaches the parser. This limits the memory that one request can hold but does not remove the multiplication: a body below the proxy limit still passes the :length limit.EEF
Referencias
Fabricantehttps://github.com/elixir-plug/plug/security/advisories/GHSA-qj4r-jh2r-rw3f
Parchehttps://github.com/elixir-plug/plug/commit/497913f2a6d744d693e98e96c5b9c6d88c265695
Parchehttps://github.com/elixir-plug/plug/commit/3d3fb645323643935c6c94863c1b3edfd62e2828
Otrahttps://cna.erlef.org/cves/CVE-2026-120287.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-120287
Otrahttps://github.com/elixir-plug/plug/commit/e06acbd3d381931f23cbde7d763136c9ccb091ac

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