CVE-2026-8466ninenines cowboy
Alta 8.2 Sin autenticación
Seguir: esta CVE · ninenines · ninenines cowboy Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 13 may 2026
- Actualizada
- 20 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-770
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.
cowboy_req:read_part/3 in src/cowboy_req.erl accumulates incoming request bytes into a Buffer binary with no upper-bound check. When cow_multipart:parse_headers/2 returns more or {more, Buffer2}, the function reads up to Length bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the byte_size(Acc) > Length guard present in the sibling function read_part_body/4. An unauthenticated attacker can send a multipart/form-data request whose body never yields a complete header section — for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \r\n\r\n — and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.
The function has had two names. From 0.10.0 to 2.0.0-pre.3 it is cowboy_req:part/3, reached through cowboy_req:part/1 and cowboy_req:part/2. From 2.0.0-pre.4 it is cowboy_req:read_part/3, reached through cowboy_req:read_part/1 and cowboy_req:read_part/2. Both have the same buffer loop.
This issue affects cowboy: from 0.10.0 before 2.15.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para cowboy.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Hex | cowboy |
≥ 0.10.0 < 2.15.0 |
2.15.0 |
— |
| Hex | cowboy |
≥ 2.0.0 < 2.15.0 |
2.15.0 |
— |
Según OSV / GitHub Advisories (EEF-CVE-2026-8466, GHSA-jfc2-q6qh-g5x8). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- ninenines · cowboy
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.