# CVE-2026-8466: Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.55% (percentile 39, 2026-11-26)
- **CWE:** CWE-770
- **Published:** 2026-05-13T18:26:21.089Z
- **Modified:** 2026-11-20T06:17:44.140Z

## Who should check

- Anyone running ninenines cowboy \>= 0.10.0, \< 2.15.0
- Anyone running ninenines cowboy \>= 917cf99e10c41676183d501b86af6e47c95afb89, \< 5c6a2061b41bb5771c4659fac7d5a822dca5bafb

## 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

- ninenines cowboy: \>= 0.10.0, \< 2.15.0 (cvelist)
- ninenines cowboy: \>= 917cf99e10c41676183d501b86af6e47c95afb89, \< 5c6a2061b41bb5771c4659fac7d5a822dca5bafb (cvelist)

## Mitigation

- Upgrade cowboy to 2.15.0 or later.
- Upgrade cowboy to 5c6a2061b41bb5771c4659fac7d5a822dca5bafb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://github.com/ninenines/cowboy/commit/917cf99e10c41676183d501b86af6e47c95afb89>
- patch: <https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb>
- other: <https://cna.erlef.org/cves/CVE-2026-8466.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-8466>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-8466>

HTML: <https://flawdb.com/CVE-2026-8466> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-8466>
