Summary
CVE-2026-115701 is an uncontrolled resource allocation (CWE-770) vulnerability in the ninenines Cowboy Erlang HTTP server. An unauthenticated remote attacker can exhaust connection process memory over HTTP/1.1, causing denial of service. The CNA (EEF) rates it High, with a CVSS v4.0 score of 8.2.
Technical details
- Root cause: After a request has been received in full and its handler is still running,
cowboy_http:parse/2appends every further byte arriving on the keep-alive connection to the connection buffer. No limit is enforced on that buffer. - Trigger conditions: The attacker sends pipelined or arbitrary data on an HTTP/1.1 connection while a handler is executing. Handlers that hold connections open (long polling, streamed responses, slow backends) raise the exposure.
- Idle timeout: The default 60-second idle timeout resets on each received chunk, so it does not end the attack.
- Attack vector: Network, with no authentication or user interaction.
- Impact: High availability impact. Connection process memory is exhausted, which can lead to out-of-memory conditions.
- Not affected: HTTP/2 connections.
Affected software
- Cowboy (hex.pm) 2.18.0 and later releases that do not contain the fix. The flaw was introduced in 2.18.0.
- Git builds from commit faf5594fbf74530ace90b0c46c936bdc2cf82081 onward, until fix commit 3a630c07e1521abf63a1b9ea080509aa1337b60d.
Severity
- CVSS v4.0 base score 8.2 (High):
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - No CVSS v3.1 vector was published in the sources reviewed.
Mitigation and recommended actions
- Immediate: Upgrade to a Cowboy release that includes fix commit
3a630c07e1521abf63a1b9ea080509aa1337b60d. The fix switches the socket to passive mode while a request is processed, so pipelined data no longer accumulates in the buffer. The sources reviewed did not name a specific patched release number, so confirm with the Cowboy project that your chosen release includes this commit. - If you cannot patch: The advisory lists no official workaround. It states that HTTP/2 connections are unaffected. Restricting untrusted clients’ access to HTTP/1.1 endpoints with long-running handlers may reduce exposure. This is a general precaution, not a vendor-documented fix.

