CVE-2026-65624
published medium CVSS 4.0 · 6.9Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ninenines | — | cowboy2.0.0-pre.4 to < 2.18.0 · Other versions: unaffected | Affected | Not stated | EEF |
| ninenines | — | ninenines/cowboycowboy · 309780a9fda145c262a47ac7811ffd50a0271c5b to < 3a34d8c1cfd94326466aa16a9017236691dc9c55 · Other versions: unaffected | Affected | Not stated | EEF |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ninenines | cowboy | 2.0.0-pre.4 to < 2.18.0 (affected · semver)Default: unaffected | EEF · cna |
| ninenines | cowboy | 309780a9fda145c262a47ac7811ffd50a0271c5b to < 3a34d8c1cfd94326466aa16a9017236691dc9c55 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
4- EEF CNA record for CVE-2026-65624 https://cna.erlef.org/cves/CVE-2026-65624.html
- Introducing commit 309780a in ninenines/cowboy https://github.com/ninenines/cowboy/commit/309780a9fda145c262a47ac7811ffd50a0271c5b
- Fix commit 3a34d8c in ninenines/cowboy https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55
- OSV record EEF-CVE-2026-65624 https://osv.dev/vulnerability/EEF-CVE-2026-65624
Provider assertions
2EEF · cna
Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 141e759c3a0723f2df6758ea02c03681a64eadb9dc324e0d330f7ab54acea059
- Ingested
- 24 Nov 2026, 06:28:17 UTC
- Source record
- Official CVE record