Skip to content

CVE-2026-115701 Cowboy HTTP/1.1 Unbounded Buffering of Pipelined Data During Request Handling Enables Memory Exhaustion

HighCVSS 8.2 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Debian

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.

Once a request has been received in full and its handler is still running, cowboy_http:parse/2 in src/cowboy_http.erl appends every further byte that arrives on the keep-alive connection to the connection buffer and returns to the receive loop without parsing it. The socket stays in active mode and no limit applies to this buffer: max_request_line_length, max_headers and the other parser limits only take effect once the handler returns and parsing resumes, and the only timer in this state is idle_timeout (default 60 seconds), which is reset on every received chunk. A client can therefore send an arbitrary amount of data on one connection for as long as the handler runs, and a few connections to an endpoint that holds requests open can drive the Erlang VM into out-of-memory conditions.

This issue affects cowboy: from 2.18.0 before 2.21.0.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
debian/erlang-cowboy(Debian 14) < 2.21.0+dfsg-1; = 0.6.1-1; = 0.6.1-2; = 0.6.1-3 +15 more 2.21.0+dfsg-1 Fixed
ninenines cowboy >= 2.18.0, < 2.21.0; >= faf5594fbf74530ace90b0c46c936bdc2cf82081, < 3a630c07e1521abf63a1b9ea080509aa1337b60d 2.21.0, 3a630c07e1521abf63a1b9ea080509aa1337b60d Fixed

Affected products

ProductAffected versionsFixed in
ninenines cowboy >= 2.18.0, < 2.21.0 2.21.0
ninenines cowboy >= faf5594fbf74530ace90b0c46c936bdc2cf82081, < 3a630c07e1521abf63a1b9ea080509aa1337b60d 3a630c07e1521abf63a1b9ea080509aa1337b60d
debian/erlang-cowboy(Debian:14) < 2.21.0+dfsg-1 2.21.0+dfsg-1
debian/erlang-cowboy(Debian:14) = 0.10.0+dfsg1-1 No fix listed
debian/erlang-cowboy(Debian:14) = 0.6.1-1 No fix listed
debian/erlang-cowboy(Debian:14) = 0.6.1-2 No fix listed
debian/erlang-cowboy(Debian:14) = 0.6.1-3 No fix listed
debian/erlang-cowboy(Debian:14) = 0.6.1-4 No fix listed
debian/erlang-cowboy(Debian:14) = 0.8.6+dfsg-1 No fix listed
debian/erlang-cowboy(Debian:14) = 0.8.6+dfsg1-1 No fix listed
debian/erlang-cowboy(Debian:14) = 1.0.0+dfsg1-1 No fix listed
debian/erlang-cowboy(Debian:14) = 2.0.0~pre.1+dfsg1-1 No fix listed
debian/erlang-cowboy(Debian:14) = 2.0.0~pre.1+dfsg1-2 No fix listed
debian/erlang-cowboy(Debian:14) = 2.0.0~pre.1+dfsg1-3 No fix listed
debian/erlang-cowboy(Debian:14) = 2.0.0~pre.1+dfsg1-4 No fix listed
debian/erlang-cowboy(Debian:14) = 2.16.1+dfsg-1 No fix listed
debian/erlang-cowboy(Debian:14) = 2.16.1+dfsg-2 No fix listed
debian/erlang-cowboy(Debian:14) = 2.17.0+dfsg-1 No fix listed
debian/erlang-cowboy(Debian:14) = 2.18.0+dfsg-1 No fix listed
debian/erlang-cowboy(Debian:14) = 2.19.0+dfsg-1 No fix listed
debian/erlang-cowboy(Debian:14) = 2.20.0+dfsg-1 No fix listed

References