CVE-2026-8466
Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy
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. This issue affects cowboy from 2.0.0 before 2.15.0.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.382% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.2 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:59:17.278Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:17.278Z | CVE Program |
| epss | verified | 2026-11-19T16:04:55.369Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:52.461Z | OSV |
| affected | verified | 2026-11-19T12:59:17.278Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:17.278Z | CVE Program |
Affected versions and configuration
ninenines cowboy; modules: cowboy_req; default status: unaffected: 2.0.0 to < 2.15.0 [affected; scheme: semver] ninenines cowboy; modules: cowboy_req; default status: unaffected: 917cf99e10c41676183d501b86af6e47c95afb89 to < 5c6a2061b41bb5771c4659fac7d5a822dca5bafb [affected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/ninenines/cowboy",
"vendor": "ninenines",
"modules": [
"cowboy_req"
],
"product": "cowboy",
"versions": [
{
"status": "affected",
"version": "2.0.0",
"lessThan": "2.15.0",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/cowboy",
"packageName": "cowboy",
"programFiles": [
"src/cowboy_req.erl"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "cowboy_req:read_part/1"
},
{
"name": "cowboy_req:read_part/2"
},
{
"name": "cowboy_req:read_part/3"
}
]
},
{
"cpes": [
"cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/ninenines/cowboy",
"vendor": "ninenines",
"modules": [
"cowboy_req"
],
"product": "cowboy",
"versions": [
{
"status": "affected",
"version": "917cf99e10c41676183d501b86af6e47c95afb89",
"lessThan": "5c6a2061b41bb5771c4659fac7d5a822dca5bafb",
"versionType": "git"
}
],
"packageURL": "pkg:github/ninenines/cowboy",
"packageName": "ninenines/cowboy",
"programFiles": [
"src/cowboy_req.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "cowboy_req:read_part/1"
},
{
"name": "cowboy_req:read_part/2"
},
{
"name": "cowboy_req:read_part/3"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-8466",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-05-13T18:46:37.406887Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-13T18:52:29.452Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-8466",
"aliases": [
"CVE-2026-8466",
"GHSA-jfc2-q6qh-g5x8"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.15.0"
}
]
}
],
"package": {
"name": "cowboy",
"purl": "pkg:hex/cowboy",
"ecosystem": "Hex"
},
"versions": [
"2.0.0",
"2.1.0",
"2.10.0",
"2.11.0",
"2.12.0",
"2.13.0",
"2.14.0",
"2.14.1",
"2.14.2",
"2.2.0",
"2.2.1",
"2.2.2",
"2.3.0",
"2.4.0",
"2.5.0",
"2.6.0",
"2.6.1",
"2.6.2",
"2.6.3",
"2.7.0",
"2.8.0",
"2.9.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-8466.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-8466.html",
"type": "WEB"
},
{
"url": "https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/cowboy",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/ninenines/cowboy",
"type": "GIT",
"events": [
{
"introduced": "917cf99e10c41676183d501b86af6e47c95afb89"
},
{
"fixed": "5c6a2061b41bb5771c4659fac7d5a822dca5bafb"
}
]
}
],
"versions": [
"2.14.2",
"2.14.1",
"2.14.0",
"2.13.0",
"2.12.0",
"2.11.0",
"2.10.0",
"2.9.0",
"2.8.0",
"2.7.0",
"2.6.3",
"2.6.2",
"2.6.1",
"2.6.0",
"2.5.0",
"2.4.0",
"2.3.0",
"2.2.2",
"2.2.1",
"2.2.0",
"2.1.0",
"2.0.0",
"2.0.0-rc.4",
"2.0.0-rc.3",
"2.0.0-rc.2",
"2.0.0-rc.1",
"2.0.0-pre.10",
"2.0.0-pre.9",
"2.0.0-pre.8",
"2.0.0-pre.7",
"2.0.0-pre.6",
"2.0.0-pre.5",
"2.0.0-pre.4",
"2.0.0-pre.3",
"2.0.0-pre.2",
"2.0.0-pre.1",
"1.0.0",
"0.10.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-8466.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-770"
],
"capec_ids": [
"CAPEC-130"
]
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-jfc2-q6qh-g5x8",
"aliases": [
"CVE-2026-8466",
"EEF-CVE-2026-8466"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.15.0"
}
]
}
],
"package": {
"name": "cowboy",
"purl": "pkg:hex/cowboy",
"ecosystem": "Hex"
},
"versions": [
"2.0.0",
"2.1.0",
"2.10.0",
"2.11.0",
"2.12.0",
"2.13.0",
"2.14.0",
"2.14.1",
"2.14.2",
"2.2.0",
"2.2.1",
"2.2.2",
"2.3.0",
"2.4.0",
"2.5.0",
"2.6.0",
"2.6.1",
"2.6.2",
"2.6.3",
"2.7.0",
"2.8.0",
"2.9.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-jfc2-q6qh-g5x8/GHSA-jfc2-q6qh-g5x8.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-8466",
"type": "ADVISORY"
},
{
"url": "https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb",
"type": "WEB"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-8466.html",
"type": "WEB"
},
{
"url": "https://github.com/ninenines/cowboy",
"type": "PACKAGE"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-8466",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-770"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-05-13T19:17:30Z",
"github_reviewed_at": "2026-05-19T20:12:33Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | cowboy | Not a distribution channel | 2.15.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:52.461ZArchived source JSON
Source publication: 2026-05-13T18:26:21.089Z
Source modification: 2026-09-08T03:45:10.616ZDocument fingerprint
debc0de6dfc2ca3cb6b327936f6fa94387af6414d600ba3f4bf8d6f341c41042 - OSVConsulted: 2026-11-19T12:52:52.461ZArchived source JSON
Source publication: 2026-05-13T21:32:06.000Z
Source modification: 2026-05-19T20:26:06.334ZDocument fingerprint
debc0de6dfc2ca3cb6b327936f6fa94387af6414d600ba3f4bf8d6f341c41042 - CVE ProgramConsulted: 2026-11-19T12:59:17.278ZArchived source JSON
Source publication: 2026-05-13T18:26:21.089Z
Source modification: 2026-05-14T04:30:32.552ZDocument fingerprint
dc7eb9550e09ec631d05f2ce34708782a2c3eabddd30c8e5126446f32a2d1820 - FIRST EPSSConsulted: 2026-11-19T16:04:55.369ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a7405b33de9d393c372baf362c397518d22432ff8c9df98522c1b46d1034d9cf
Official status history
- UNKNOWN → PUBLISHED · · evidence