{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-65624", "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "state": "PUBLISHED", "assignerShortName": "EEF", "dateReserved": "2026-07-22T13:55:59.401Z", "datePublished": "2026-07-28T10:01:01.811Z", "dateUpdated": "2026-11-24T06:06:42.425Z" }, "containers": { "cna": { "affected": [ { "collectionURL": "https://repo.hex.pm", "cpes": [ "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "cowboy_http" ], "packageName": "cowboy", "packageURL": "pkg:hex/cowboy", "product": "cowboy", "programFiles": [ "src/cowboy_http.erl" ], "programRoutines": [ { "name": "cowboy_http:parse_header/3" }, { "name": "cowboy_http:parse_hd_value/5" } ], "repo": "https://github.com/ninenines/cowboy", "vendor": "ninenines", "versions": [ { "lessThan": "2.18.0", "status": "affected", "version": "2.0.0-pre.4", "versionType": "semver" } ] }, { "collectionURL": "https://github.com", "cpes": [ "cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "cowboy_http" ], "packageName": "ninenines/cowboy", "packageURL": "pkg:github/ninenines/cowboy", "product": "cowboy", "programFiles": [ "src/cowboy_http.erl" ], "programRoutines": [ { "name": "cowboy_http:parse_header/3" }, { "name": "cowboy_http:parse_hd_value/5" } ], "repo": "https://github.com/ninenines/cowboy", "vendor": "ninenines", "versions": [ { "lessThan": "3a34d8c1cfd94326466aa16a9017236691dc9c55", "status": "affected", "version": "309780a9fda145c262a47ac7811ffd50a0271c5b", "versionType": "git" } ] } ], "cpeApplicability": [ { "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" } ], "credits": [ { "lang": "en", "type": "finder", "value": "Jing Chen / Wuhan University" }, { "lang": "en", "type": "finder", "value": "Min Shi / Wuhan University" }, { "lang": "en", "type": "finder", "value": "Qiyi Deng / Wuhan University" }, { "lang": "en", "type": "finder", "value": "Yongkang Xiao / Wuhan University" }, { "lang": "en", "type": "analyst", "value": "Jonatan Männchen / EEF" }, { "lang": "en", "type": "remediation developer", "value": "Loïc Hoguin" } ], "datePublic": "2026-07-28T10:01:01.000Z", "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "
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.
\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.
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.
" }, { "base64": false, "type": "text/markdown", "value": "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.\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." } ], "value": "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.\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." } ], "impacts": [ { "capecId": "CAPEC-130", "descriptions": [ { "lang": "en", "value": "CAPEC-130 Excessive Allocation" } ] } ], "metrics": [ { "cvssV4_0": { "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "Safety": "NOT_DEFINED", "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "NETWORK", "baseScore": 6.9, "baseSeverity": "MEDIUM", "privilegesRequired": "NONE", "providerUrgency": "NOT_DEFINED", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "valueDensity": "NOT_DEFINED", "vectorString": "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", "version": "4.0", "vulnAvailabilityImpact": "LOW", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnerabilityResponseEffort": "NOT_DEFINED" }, "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-770", "description": "CWE-770 Allocation of Resources Without Limits or Throttling", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "shortName": "EEF", "dateUpdated": "2026-11-24T06:06:42.425Z" }, "references": [ { "name": "EEF CNA record for CVE-2026-65624", "tags": [ "related", "third-party-advisory" ], "url": "https://cna.erlef.org/cves/CVE-2026-65624.html" }, { "name": "OSV record EEF-CVE-2026-65624", "tags": [ "related" ], "url": "https://osv.dev/vulnerability/EEF-CVE-2026-65624" }, { "name": "Introducing commit 309780a in ninenines/cowboy", "tags": [ "related" ], "url": "https://github.com/ninenines/cowboy/commit/309780a9fda145c262a47ac7811ffd50a0271c5b" }, { "name": "Fix commit 3a34d8c in ninenines/cowboy", "tags": [ "patch" ], "url": "https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55" } ], "source": { "discovery": "EXTERNAL" }, "title": "Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion" }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-07-28T12:38:53.899266Z", "id": "CVE-2026-65624", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-07-28T12:39:27.067Z" } } ] } }