CVE-2026-8466
published high CVSS 4.0 · 8.2Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ninenines | — | cowboy0.10.0 to < 2.15.0 · Other versions: unaffected | Affected | Not stated | EEF |
| ninenines | — | ninenines/cowboycowboy · 917cf99e10c41676183d501b86af6e47c95afb89 to < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb · Other versions: unaffected | Affected | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ninenines | cowboy | 0.10.0 to < 2.15.0 (affected · semver)Default: unaffected | EEF · cna |
| ninenines | cowboy | 917cf99e10c41676183d501b86af6e47c95afb89 to < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
4- EEF CNA record for CVE-2026-8466 https://cna.erlef.org/cves/CVE-2026-8466.html
- Fix commit 5c6a206 in ninenines/cowboy https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb
- Introducing commit 917cf99 in ninenines/cowboy https://github.com/ninenines/cowboy/commit/917cf99e10c41676183d501b86af6e47c95afb89
- OSV record EEF-CVE-2026-8466 https://osv.dev/vulnerability/EEF-CVE-2026-8466
Provider assertions
2EEF · cna
Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 430e92c8f9235853ee3b6e5539d1dc1ea0b5f588592b668d63880db43806531d
- Ingested
- 20 Nov 2026, 05:37:46 UTC
- Source record
- Official CVE record