{"vuln_id":"CVE-2026-8466","aliases":[],"description":"Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\ncowboy_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.","published_at":"2026-05-13T19:17:30.540000Z","modified_at":"2026-11-20T06:17:44.140000Z","first_seen_at":"2026-11-21T19:15:46.226064Z","severity":"high","severity_source":"nvd","cvss_score":8.2,"cvss_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","cwe":["CWE-770"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00395,"epss_percentile":0.34425,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-8466"},"matched_alias":null,"items":[{"id":3135,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-8468: Allocation of Resources Without Limits or Throttling vulnerability in plug_project plug allows denial of service via unbounded buffer accumulation in multipart…","summary":"Allocation of Resources Without Limits or Throttling vulnerability in plug_project plug allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\nPlug.Conn.read_part_headers/2 in lib/plug/conn.ex does not obey its :length parameter. There is no upper bound on the size of the accumulated buffer. By contrast, the sibling function read_part_body has an explicit byte_size(acc) > length guard that stops accumulation once a limit is reached. No such guard exists in read_part_headers. An unauthenticated remote attacker can exhaust server memory by sending a crafted multipart/form-data request, causing a denial of service.\n\nThis issue affects plug: from 1.4.0-rc.0 before 1.15.4, from 1.16.0 before 1.16.3, from 1.17.0 before 1.17.1, from 1.18.0 before 1.18.2, and from 1.19.0 before 1.19.2.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-8466.html\nhttps://cna.erlef.org/cves/CVE-2026-8468.html\nhttps://github.com/elixir-plug/plug/commit/2cb7958d33030aa826b0c7404375844d4593d43a\nhttps://github.com/elixir-plug/plug/commit/33858427c7f2737d560a2e40a0c9a9270d77d1d7\nhttps://github.com/elixir-plug/plug/commit/aa69c5ece99c40ded88b8c6581ecc86664b0b734\nhttps://github.com/elixir-plug/plug/commit/c52b2f32c90bccd718202bafccb5f95594e30183\nhttps://github.com/elixir-plug/plug/commit/d5dfffe25e975585227b1b85d247b0d14164bc45\nhttps://github.com/elixir-plug/plug/commit/d878b42efea9f12b243dc3e362a2ed048a798203\nhttps://github.com/elixir-plug/plug/commit/df812a1527bae9e941965e897308a2b8bbf83a94\nhttps://github.com/elixir-plug/plug/security/advisories/GHSA-468c-vq7p-gh64","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8468","published_at":"2026-05-14T11:16:18.900000Z","updated_at":"2026-11-20T10:17:11.993000Z","fetched_at":"2026-11-21T19:15:31.478740Z","severity":"high","cvss_score":8.2,"epss":0.00637,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-8468","vuln_ids":["CVE-2026-8466","CVE-2026-8468","GHSA-468C-VQ7P-GH64"],"tags":["CWE-770"],"cluster_id":3161,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3135","html":"https://vulnwatch.ve1ve2.com/item/3135"}},{"id":3134,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-8466: Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart…","summary":"Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.\n\ncowboy_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\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-8466.html\nhttps://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb\nhttps://github.com/ninenines/cowboy/commit/917cf99e10c41676183d501b86af6e47c95afb89\nhttps://osv.dev/vulnerability/EEF-CVE-2026-8466","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8466","published_at":"2026-05-13T19:17:30.540000Z","updated_at":"2026-11-20T06:17:44.140000Z","fetched_at":"2026-11-21T19:15:31.478740Z","severity":"high","cvss_score":8.2,"epss":0.00395,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-8466","vuln_ids":["CVE-2026-8466"],"tags":["CWE-770"],"cluster_id":3160,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3134","html":"https://vulnwatch.ve1ve2.com/item/3134"}}]}