CVE-2026-65624
MediumCVSS 6.9Exploitation Probability (EPSS)
Elevated risk51th percentile - higher than 51% of all known CVEs
Summary
The cowboy HTTP server from version 2.0.0-pre.4 to 2.17.x is vulnerable to memory exhaustion due to unlimited resources. An unauthenticated attacker can send many HTTP/1.1 headers with the same name, causing continuous binary memory growth, potentially exhausting Erlang VM memory.
Risk Assessment
An attacker can cause server crash due to out-of-memory conditions, leading to service disruption.
Recommendation
Update cowboy to version 2.18.0 or later and set max_heap_size in the Erlang VM configuration.
Other vulnerabilities in cowboy
See all- CVE-2026-115701High
ninenines cowboy has an Allocation of Resources Without Limits or Throttling vulnerability: cowboy_http:parse/2 buffers every further byte arriving on a keep-alive connection while the handler is still running, with no limit on buffer size. An unauthenticated remote attacker can send arbitrary amounts of data on one connection, driving the Erlang VM into out-of-memory conditions. This affects versions from 2.18.0 onward.
- CVE-2026-8466High
In cowboy (ninenines) from 2.0.0 before 2.15.0, `cowboy_req:read_part/3` accumulates request bytes into a buffer without an upper-bound check when multipart header parsing returns `more`. An unauthenticated attacker can send a multipart/form-data request that never yields a complete header section, causing linear memory growth and exhausting BEAM memory.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

