Skip to main content
VulnerabilityPublished

CVE-2026-65624: ninenines cowboy · Unthrottled Resource Allocation

Affects ninenines cowboySource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium : upgrade to 2.18.0 when convenient.

Data as of 27 Oct 2026, 05:11 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.18.0, 3a34d8c1cfd94326466aa16a9017236691dc9c55
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade cowboy to 2.18.0; cowboy to 3a34d8c1cfd94326466aa16a9017236691dc9c55.

Affected software

ProductAffectedFixed in
nineninescowboyAffected
  • >=2.0.0-pre.4 <2.18.0
Fixed in
  • 2.18.0
nineninescowboyAffected
  • ≥ 309780a9fda145c262a47ac7811ffd50a0271c5b, < 3a34d8c1cfd94326466aa16a9017236691dc9c55
Fixed in
  • 3a34d8c1cfd94326466aa16a9017236691dc9c55
Hexcowboypkg:hex/cowboyOther threatsAffected
  • >=2.0.0-pre.4 <2.18.0
Fixed in
  • 2.18.0

CPE configurations (1)

  • cpe:2.3:a:ninenines:cowboy:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should verify if a fixed version is available beyond 2.18.0 or if configuration options like max_heap_size can be set to limit memory usage per connection. If you cannot patch yet, setting max_heap_size to a reasonable limit may mitigate the impact by killing offending connection processes before exhausting system memory.

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.

References

Community reviews

Loading reviews…