CVE-2026-8466
Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
Check your servers for CVE-2026-8466
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-8466 affects cowboy, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.43%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 38.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 13 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
cowboy
package
cowboy |
affected from 0.10.0, before 2.15.0
Other versions: unaffected
|
|
cowboy
package
ninenines/cowboy |
affected from 917cf99e10c41676183d501b86af6e47c95afb89, before 5c6a2061b41bb5771c4659fac7d5a822dca5bafb
Other versions: unaffected
|
Is my server affected?
Find the installed version of cowboy and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i cowboy
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-8466 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-8466RHEL, Rocky, Alma, Fedora
rpm -q cowboy
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-8466Alpine
apk list --installed | grep -i cowboyWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-8466
trivy image --scanners vuln IMAGE | grep CVE-2026-8466
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- EEF CNA record for CVE-2026-8466 cna.erlef.org · related, third party advisory
Patches and release notes
- Fix commit 5c6a206 in ninenines/cowboy github.com · patch
Other references
- OSV record EEF-CVE-2026-8466 osv.dev · related
- Introducing commit 917cf99 in ninenines/cowboy github.com · related
Source: the record CVE-2026-8466 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse