CVE-2026-65624 json
Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion
published 2026-07-28 3 mo ago modified 2026-10-24 15 d ago also EEF-CVE-2026-65624 , EUVD-2026-49740
- cvss
- 6.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.
The 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.
The 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.
This issue affects cowboy from 2.0.0-pre.4 before 2.18.0.
Patch / fix
- hex cowboy 2.18.0
- ninenines cowboy 2.18.0
- erlang-cowboy Debian 14 2.18.0+dfsg-1
debian advisories DEBIAN-CVE-2026-65624
- rabbitmq-server4.3 hummingbird 1 4.3.5-0.1.hum1
- rabbitmq-server4.2 hummingbird 1 4.2.9-0.2.hum1
- rabbitmq-server4.3 hummingbird 1 4.3.4-0.2.hum1
red hat advisories RHSA-2026:57882RHSA-2026:47236RHSA-2026:47231
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-65624 updated cvss 7.5
cowboy: Cowboy: Denial of Service via HTTP/1.1 duplicate header names
-
Red Hat Hardened Images rabbitmq-server4.2 4.2.9-0.2.hum1, rabbitmq-server4.3 4.3.4-0.2.hum1fixed: vendor fix RHSA-2026:47236
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| CNA | 4.0 | 6.9 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| hex | cowboy | >=2.0.0-pre.4, <2.18.0 |
2.18.0 |
Affected products
- ninenines cowboy
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55
patch
-
cna.erlef.org
/cves/CVE-2026-65624.html
related, third-party-advisory, web
-
osv.dev
/vulnerability/EEF-CVE-2026-65624
related
-
hex.pm
/packages/cowboy
package
Sources
- CVE List CVE-2026-65624
- NVD CVE-2026-65624
- OSV EEF-CVE-2026-65624
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.