{"id":"EEF-CVE-2026-65624","aliases":["CVE-2026-65624"],"title":"Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nAllocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nThe HTTP/1.1 handler in `cowboy_http` enforces the `max_headers` limit by counting the number of distinct header names in a map (`maps:size(Headers)`). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (`\", \"` for regular headers, `\"; \"` for cookies), so the map size stays at one and the `max_headers` cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line `max_header_name_length` and `max_header_value_length` apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process's binary memory to arbitrary size within the request window.\n\nThe impact per connection is bounded by `request_timeout` (default 5 seconds, not reset by header data), and by `max_heap_size` when set (the offending connection process is killed once its heap grows past the limit). When `max_heap_size` is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy: from 2.0.0-pre.4 before 2.18.0.","severity":"medium","score":6.9,"published":"2026-07-28T10:01:01.811Z","modified":"2026-11-25T06:30:08.686Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"cowboy","sources":[{"name":"OSV · EEF-CVE-2026-65624","url":"https://osv.dev/vulnerability/EEF-CVE-2026-65624"}],"ranges":[{"events":[{"introduced":"2.0.0-pre.4"},{"fixed":"2.18.0"}],"type":"SEMVER"}],"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.15.0","2.16.0","2.16.1","2.17.0","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.18.0"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"309780a9fda145c262a47ac7811ffd50a0271c5b"},{"fixed":"3a34d8c1cfd94326466aa16a9017236691dc9c55"}],"type":"GIT","repo":"https://github.com/ninenines/cowboy"}],"versions":["2.17.0","2.16.1","2.16.0","2.15.0","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"]}],"references":["https://cna.erlef.org/cves/CVE-2026-65624.html","https://osv.dev/vulnerability/EEF-CVE-2026-65624","https://github.com/ninenines/cowboy/commit/309780a9fda145c262a47ac7811ffd50a0271c5b","https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55","https://hex.pm/packages/cowboy"],"sources":[{"name":"CVE","id":"CVE-2026-65624","modified":"2026-11-24T06:06:42.425Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-65624"},{"name":"OSV","id":"EEF-CVE-2026-65624","modified":"2026-11-25T06:30:08.686023974Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-65624"}],"assessments":[{"source":"EEF","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9}],"cve":{"records":[{"id":"CVE-2026-65624","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-22T13:55:59.401Z","published":"2026-07-28T10:01:01.811Z","modified":"2026-11-24T06:06:42.425Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-24T06:06:42.425Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-07-28T12:39:27.067Z"}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-65624.html","tags":["related","third-party-advisory"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-65624","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowboy/commit/309780a9fda145c262a47ac7811ffd50a0271c5b","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55","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.18.0","versionStartIncluding":"2.0.0-pre.4","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-07-28T12:38:53.899266Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ninenines","name":"cowboy","platforms":[],"versions":[{"version":"2.0.0-pre.4","status":"affected","lessThan":"2.18.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-65624"},{"vendor":"ninenines","name":"cowboy","platforms":[],"versions":[{"version":"309780a9fda145c262a47ac7811ffd50a0271c5b","status":"affected","lessThan":"3a34d8c1cfd94326466aa16a9017236691dc9c55","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-65624"}],"remediation":[],"observedAt":"2026-11-25T07:54:43.157Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T00:35:30.798Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-20T18:15:31.131Z","attemptedAt":"2026-11-20T18:15:31.131Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-20T18:15:31.318Z","attemptedAt":"2026-11-20T18:15:31.318Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-20T18:15:31.202Z","attemptedAt":"2026-11-20T18:15:31.202Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-20T18:15:31.281Z","attemptedAt":"2026-11-20T18:15:31.281Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-65624","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65624","modified":"2026-10-24T13:10:00.147","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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:15:31.131Z"},{"source":"ENISA EUVD","id":"EUVD-2026-49740","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-49740","modified":"Jul 29, 2026, 4:17:22 AM","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","checkedAt":"2026-11-20T18:15:31.202Z"},{"source":"FIRST EPSS","id":"CVE-2026-65624","url":"https://www.first.org/epss/","probability":0.00383,"percentile":0.33278,"date":"2026-11-20","checkedAt":"2026-11-20T18:15:31.281Z"},{"source":"GitHub Advisory Database","id":"GHSA-v9x8-262p-f2g5","url":"https://github.com/advisories/GHSA-v9x8-262p-f2g5","modified":"2026-07-28T12:31:27Z","checkedAt":"2026-11-20T18:15:31.318Z"}],"aiSummary":null}