{"id":"CVE-2026-8466","aliases":["EEF-CVE-2026-8466","GHSA-jfc2-q6qh-g5x8"],"title":"Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\n`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.\n\nThe 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.\n\nThis issue affects cowboy: from 0.10.0 before 2.15.0.\n\n## Configurations\n\nThe application must expose an HTTP endpoint that calls `cowboy_req:read_part/1,2` (`cowboy_req:part/1,2` before 2.0.0-pre.4) to process `multipart/form-data` request bodies. Deployments that do not handle multipart uploads are not affected.","severity":"high","score":8.2,"published":"2026-05-13T18:26:21.089Z","modified":"2026-11-26T17:23:14.019Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"cowboy","sources":[{"name":"OSV · EEF-CVE-2026-8466","url":"https://osv.dev/vulnerability/EEF-CVE-2026-8466"}],"ranges":[{"events":[{"introduced":"0.10.0"},{"fixed":"2.15.0"}],"type":"SEMVER"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.1","1.1.2","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"],"fixed":["2.15.0"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"917cf99e10c41676183d501b86af6e47c95afb89"},{"fixed":"5c6a2061b41bb5771c4659fac7d5a822dca5bafb"}],"type":"GIT","repo":"https://github.com/ninenines/cowboy"}],"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"]}],"references":["https://cna.erlef.org/cves/CVE-2026-8466.html","https://osv.dev/vulnerability/EEF-CVE-2026-8466","https://github.com/ninenines/cowboy/commit/917cf99e10c41676183d501b86af6e47c95afb89","https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb","https://hex.pm/packages/cowboy"],"sources":[{"name":"CVE","id":"CVE-2026-8466","modified":"2026-11-20T05:22:18.846Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-8466"},{"name":"OSV","id":"EEF-CVE-2026-8466","modified":"2026-11-26T17:23:14.019840204Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-8466"}],"assessments":[{"source":"EEF","vector":"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","score":8.2},{"source":"OSV","vector":"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","score":8.2}],"cve":{"records":[{"id":"CVE-2026-8466","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-05-13T11:44:39.149Z","published":"2026-05-13T18:26:21.089Z","modified":"2026-11-20T05:22:18.846Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-20T05:22:18.846Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-05-13T18:52:29.452Z"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-8466.html","tags":["related","third-party-advisory"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-8466","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowboy/commit/917cf99e10c41676183d501b86af6e47c95afb89","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*","versionEndExcluding":"2.15.0","versionStartIncluding":"0.10.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-05-13T18:46:37.406887Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ninenines","name":"cowboy","platforms":[],"versions":[{"version":"0.10.0","status":"affected","lessThan":"2.15.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/cowboy","packageIdentity":{"ecosystem":"Hex","name":"cowboy"},"cpes":["cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-8466"},{"vendor":"ninenines","name":"cowboy","platforms":[],"versions":[{"version":"917cf99e10c41676183d501b86af6e47c95afb89","status":"affected","lessThan":"5c6a2061b41bb5771c4659fac7d5a822dca5bafb","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ninenines/cowboy","cpes":["cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-8466"}],"remediation":[],"observedAt":"2026-11-26T17:35:47.380Z","kev":{"status":"unavailable","checkedAt":"2026-11-28T23:55:31.062Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-20T18:05:32.088Z","attemptedAt":"2026-11-20T18:05:32.088Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-20T18:05:31.390Z","attemptedAt":"2026-11-20T18:05:31.390Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-20T18:05:33.559Z","attemptedAt":"2026-11-20T18:05:33.559Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-20T18:05:32.088Z","attemptedAt":"2026-11-20T18:05:32.088Z"}],"evidence":[{"source":"GitHub Advisory Database","id":"GHSA-jfc2-q6qh-g5x8","url":"https://github.com/advisories/GHSA-jfc2-q6qh-g5x8","modified":"2026-05-19T20:12:34Z","checkedAt":"2026-11-20T18:05:31.390Z"},{"source":"NVD","id":"CVE-2026-8466","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8466","modified":"2026-11-20T06:17:44.140","score":8.2,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-20T18:05:32.088Z"},{"source":"FIRST EPSS","id":"CVE-2026-8466","url":"https://www.first.org/epss/","probability":0.00395,"percentile":0.34551,"date":"2026-11-20","checkedAt":"2026-11-20T18:05:32.088Z"},{"source":"ENISA EUVD","id":"EUVD-2026-30133","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-30133","modified":"Nov 20, 2026, 5:22:18 AM","score":8.2,"vector":"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","checkedAt":"2026-11-20T18:05:33.559Z"}],"aiSummary":{"text":"The cowboy product, versions 0.10.0 before 2.15.0, has an unbounded buffer accumulation weakness in multipart header parsing, allowing an unauthenticated attacker to cause a denial of service. The vulnerability requires the application to expose an HTTP endpoint that calls `cowboy_req:read_part/1,2` to process `multipart/form-data` request bodies. An attacker can send a specially crafted request to force the server process to accumulate memory linearly with the bytes delivered.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T10:21:23.565Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-8466"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-8466"}]}}