CVE-2026-65624

Source
https://cve.org/CVERecord?id=CVE-2026-65624
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65624.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-65624
Aliases
Downstream
Published
2026-07-28T10:01:01.811Z
Modified
2026-07-30T04:03:24.848133748Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion
Details

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 cowboyhttp enforces the maxheaders 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 maxheaders 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 maxheadernamelength and maxheadervalue_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 requesttimeout (default 5 seconds, not reset by header data), and by maxheapsize when set (the offending connection process is killed once its heap grows past the limit). When maxheap_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.

Database specific
{
    "cna_assigner": "EEF",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65624.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "309780a9fda145c262a47ac7811ffd50a0271c5b"
                },
                {
                    "fixed": "3a34d8c1cfd94326466aa16a9017236691dc9c55"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Git / github.com/ninenines/cowboy

Affected ranges

Type
GIT
Repo
https://github.com/ninenines/cowboy
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.0.0-pre.4"
        },
        {
            "fixed": "2.18.0"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.0.0
2.0.0-pre.10
2.0.0-pre.4
2.0.0-pre.5
2.0.0-pre.6
2.0.0-pre.7
2.0.0-pre.8
2.0.0-pre.9
2.0.0-rc.1
2.0.0-rc.2
2.0.0-rc.3
2.0.0-rc.4
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://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65624.json"