CVE-2026-65624
Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.383% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by EEFCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:59:00.319Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:00.319Z | CVE Program |
| epss | verified | 2026-11-19T16:04:53.982Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:52.461Z | OSV |
| affected | verified | 2026-11-19T12:59:00.319Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:00.319Z | CVE Program |
Affected versions and configuration
ninenines cowboy; modules: cowboy_http; default status: unaffected: 2.0.0-pre.4 to < 2.18.0 [affected; scheme: semver] ninenines cowboy; modules: cowboy_http; default status: unaffected: 309780a9fda145c262a47ac7811ffd50a0271c5b to < 3a34d8c1cfd94326466aa16a9017236691dc9c55 [affected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/ninenines/cowboy",
"vendor": "ninenines",
"modules": [
"cowboy_http"
],
"product": "cowboy",
"versions": [
{
"status": "affected",
"version": "2.0.0-pre.4",
"lessThan": "2.18.0",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/cowboy",
"packageName": "cowboy",
"programFiles": [
"src/cowboy_http.erl"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "cowboy_http:parse_header/3"
},
{
"name": "cowboy_http:parse_hd_value/6"
}
]
},
{
"cpes": [
"cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/ninenines/cowboy",
"vendor": "ninenines",
"modules": [
"cowboy_http"
],
"product": "cowboy",
"versions": [
{
"status": "affected",
"version": "309780a9fda145c262a47ac7811ffd50a0271c5b",
"lessThan": "3a34d8c1cfd94326466aa16a9017236691dc9c55",
"versionType": "git"
}
],
"packageURL": "pkg:github/ninenines/cowboy",
"packageName": "ninenines/cowboy",
"programFiles": [
"src/cowboy_http.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "cowboy_http:parse_header/3"
},
{
"name": "cowboy_http:parse_hd_value/6"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-65624",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-28T12:38:53.899266Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-28T12:39:27.067Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-65624",
"aliases": [
"CVE-2026-65624"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0-pre.4"
},
{
"fixed": "2.18.0"
}
]
}
],
"package": {
"name": "cowboy",
"purl": "pkg:hex/cowboy",
"ecosystem": "Hex"
},
"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"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-65624.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-65624.html",
"type": "WEB"
},
{
"url": "https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/cowboy",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/ninenines/cowboy",
"type": "GIT",
"events": [
{
"introduced": "309780a9fda145c262a47ac7811ffd50a0271c5b"
},
{
"fixed": "3a34d8c1cfd94326466aa16a9017236691dc9c55"
}
]
}
],
"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"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-65624.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-770"
],
"capec_ids": [
"CAPEC-130"
]
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | cowboy | Not a distribution channel | 2.18.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:52.461ZArchived source JSON
Source publication: 2026-07-28T10:01:01.811Z
Source modification: 2026-07-30T18:22:11.004ZDocument fingerprint
debc0de6dfc2ca3cb6b327936f6fa94387af6414d600ba3f4bf8d6f341c41042 - CVE ProgramConsulted: 2026-11-19T12:59:00.319ZArchived source JSON
Source publication: 2026-07-28T10:01:01.811Z
Source modification: 2026-07-29T04:17:22.788ZDocument fingerprint
a98eda652c0786cf8f00c078fa4ea8ae43fe0cde7e9ac3244d7bb938dc2e4a0d - FIRST EPSSConsulted: 2026-11-19T16:04:53.982ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
02f716adbfe8e4b3cb0489a50d5e3ba9c4249656218c1bd7ac535713ed705366 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence