CVE-2026-8466
Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
Mitigation
- Upgrade cowboy to 2.15.0 or later.
- Upgrade cowboy to 5c6a2061b41bb5771c4659fac7d5a822dca5bafb or later.
Who should check
- Anyone running ninenines cowboy >= 0.10.0, < 2.15.0
- Anyone running ninenines cowboy >= 917cf99e10c41676183d501b86af6e47c95afb89, < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb
Vulnerability facts
- Affected
- ninenines cowboy >= 0.10.0, < 2.15.0; ninenines cowboy >= 917cf99e10c41676183d501b86af6e47c95afb89, < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb
- Fixed in
- ninenines cowboy 2.15.0, ninenines cowboy 5c6a2061b41bb5771c4659fac7d5a822dca5bafb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.55% chance of exploitation in 30 days (percentile 39, 2026-11-26)
- CWE
- CWE-770
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-8466. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-8466.md Affected: ninenines cowboy >= 0.10.0, < 2.15.0; ninenines cowboy >= 917cf99e10c41676183d501b86af6e47c95afb89, < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb Fixed in: ninenines cowboy 2.15.0, ninenines cowboy 5c6a2061b41bb5771c4659fac7d5a822dca5bafb Steps: 1. Search this machine and project for ninenines cowboy: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-8466 being exploited?
There is no confirmed exploitation: CVE-2026-8466 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-8466?
High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-8466?
ninenines cowboy >= 0.10.0, < 2.15.0; ninenines cowboy >= 917cf99e10c41676183d501b86af6e47c95afb89, < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb.
Is there a fix for CVE-2026-8466?
Yes. Fixed in ninenines cowboy 2.15.0, ninenines cowboy 5c6a2061b41bb5771c4659fac7d5a822dca5bafb. Upgrade cowboy to 2.15.0 or later. Upgrade cowboy to 5c6a2061b41bb5771c4659fac7d5a822dca5bafb or later.
How do I check if I'm affected by CVE-2026-8466?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.