CVEfocus › CVE database › CVE-2026-65624

CVE-2026-65624Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion

CVSS 6.9 MediumEPSS 0.7% (higher than 47% of CVEs)Published 2026-07-28Updated 2026-11-24Assigner: EEF

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.

CWE-770

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
8Fix pending
6Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10erlang-cowboyFix pendingUBUNTU-CVE-2026-65624
Ubuntu 26.10rabbitmq-serverFix pendingUBUNTU-CVE-2026-65624
Ubuntu 26.04erlang-cowboyUnder investigationUBUNTU-CVE-2026-65624
Ubuntu 26.04rabbitmq-serverUnder investigationUBUNTU-CVE-2026-65624
Ubuntu 24.04erlang-cowboyUnder investigationUBUNTU-CVE-2026-65624
Ubuntu 24.04rabbitmq-serverUnder investigationUBUNTU-CVE-2026-65624
Ubuntu 22.04erlang-cowboyUnder investigationUBUNTU-CVE-2026-65624
Ubuntu 22.04rabbitmq-serverUnder investigationUBUNTU-CVE-2026-65624
Ubuntu 20.04erlang-cowboyFix pendingUBUNTU-CVE-2026-65624
Ubuntu 20.04rabbitmq-serverFix pendingUBUNTU-CVE-2026-65624
Ubuntu 18.04erlang-cowboyFix pendingUBUNTU-CVE-2026-65624
Ubuntu 18.04rabbitmq-serverFix pendingUBUNTU-CVE-2026-65624
Ubuntu 16.04erlang-cowboyFix pendingUBUNTU-CVE-2026-65624
Ubuntu 16.04rabbitmq-serverFix pendingUBUNTU-CVE-2026-65624
Debian 14erlang-cowboyFixed2.18.0+dfsg-1DEBIAN-CVE-2026-65624

What the vendor says

As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.