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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ninenines | cowboy | 2.0.0-pre.4 – < 2.18.0 | 2.18.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | erlang-cowboy | 2.18.0+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | erlang-cowboy +1 | No fix yet | — |
| Ubuntu 26.04 LTS | erlang-cowboy +1 | No fix yet | — |
| Ubuntu 24.04 LTS | erlang-cowboy +1 | No fix yet | — |
| Ubuntu 22.04 LTS | erlang-cowboy +1 | No fix yet | — |
| Ubuntu 20.04 LTS | erlang-cowboy | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | erlang-cowboy | No fix yet | — |
| Ubuntu 16.04 LTS | erlang-cowboy | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rabbitmq-server | No fix yet | — |
| Ubuntu Pro 18.04 LTS | rabbitmq-server | No fix yet | — |
| Ubuntu Pro 16.04 LTS | rabbitmq-server | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | rabbitmq-server4.2 | 4.2.9-0.2.hum1 | RHSA-2026:47236 |
| Red Hat Hardened Images 1 | rabbitmq-server4.3 | 4.3.4-0.2.hum1 | RHSA-2026:57882, RHSA-2026:47231 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rabbitmq-server | 3.13.7-9 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Hex | cowboy | >= 2.0.0-pre.4, < 2.18.0 | 2.18.0 | EEF-CVE-2026-65624 |
Advisories 3
- RHSA-2026:57882 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Sep 8, 2026
- RHSA-2026:47231 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Sep 8, 2026
- RHSA-2026:47236 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Sep 7, 2026
References
- https://cna.erlef.org/cves/CVE-2026-65624.html related third-party-advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-65624 related
- https://github.com/ninenines/cowboy/commit/3a34d8c1cfd94326466aa16a9017236691dc9c55 patch