Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Cowboy-backed multipart endpoint
-
DeliveryOpen concurrent HTTP connections with multipart/form-data Content-Type
-
ExploitStream body bytes without boundary or \r\n\r\n terminator
-
ExecutionCowboy request processes accumulate Buffer binary unbounded
-
PersistBEAM VM exhausts memory and crashes
-
ImpactService-wide denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must be running Cowboy 2.0.0-2.14.x and must expose at least one route whose handler invokes cowboy_req:read_part/3 (i.e. uses Cowboy's streaming multipart API) - this includes most file-upload, form-post, and multipart-API endpoints in Phoenix/Plug or raw Cowboy apps. No authentication is required (PR:N) and no user interaction is needed (UI:N); the request just has to reach the multipart-handling route, so any internet-reachable upload endpoint qualifies. Limiting factors: CVSS 4.0 AT:P reflects that the server must actually parse multipart bodies (a Cowboy deployment that only serves JSON APIs and never calls read_part is not exposed), the attacker needs sustained network throughput to feed the buffer, and effective impact depends on per-process memory limits and OS OOM behavior on the BEAM host. Impact is availability-only - no code execution, no data disclosure. |
| Impact | Signals are internally consistent and point to a real but bounded availability issue. CVSS 4.0 8.2 (AV:N/AC:L/AT:P/PR:N/UI:N) with VA:H and VC:N/VI:N correctly characterizes a pure DoS reachable over the network without authentication or user interaction, with Attack Requirements: Present reflecting the need for a server that actually exposes a multipart endpoint. CISA SSVC corroborates this: Exploitation=none, Automatable=no, Technical Impact=partial - high CVSS but not a drop-everything event. EPSS at 0.02% (5th percentile) and no KEV listing align with no public exploit identified at time of analysis. The main caveats: any Cowboy-fronted service that accepts multipart uploads on a public interface is exposed regardless of application-layer auth, because the buffer grows before the handler sees the request; and exploitation is trivially scriptable even if not pre-weaponized, since the attacker only needs to send a multipart body that never produces \r\n\r\n or the advertised boundary. Treat this as a high-priority patching target for any internet-facing BEAM service, but not an emergency. |
| Exploit ScenarioDerived | An attacker identifies a public endpoint backed by Cowboy that accepts multipart/form-data (file upload, form post, API ingest) and opens a handful of concurrent HTTP connections that send a valid Content-Type: multipart/form-data; boundary=deadbeef header followed by a body that streams attacker-controlled bytes indefinitely without ever emitting the boundary delimiter or a \r\n\r\n terminating the part headers. Each connection causes a Cowboy request process to keep concatenating 64 KB chunks into its Buffer binary, and within seconds the BEAM node's memory is exhausted and the VM is OOM-killed, taking down the entire Erlang application. No public exploit is identified at time of analysis, but the patch's regression test (sending a 100,000-byte header field) illustrates the trivial shape of a working PoC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Unauthenticated denial of service in ninenines Cowboy 2.0.0 through 2.14.x allows remote attackers to exhaust BEAM VM memory by sending malformed multipart/form-data uploads that never complete a header section. The flaw lives in cowboy_req:read_part/3, which lacked the upper-bound buffer guard already present in read_part_body/4, letting a handful of concurrent slow uploads accumulate request bytes linearly until the Erlang node runs out of memory. EPSS is very low (0.02%) and no public exploit is identified at time of analysis, but the upstream patch and a regression test are already merged in 2.15.0.
RemediationAI
Upgrade to Cowboy 2.15.0, which introduces the read_part_more/3 guard that aborts multipart parsing with a 400 once the in-progress header buffer exceeds 2048 bytes (commit 5c6a2061b41bb5771c4659fac7d5a822dca5bafb). For Elixir/Phoenix users, bump the plug_cowboy or cowboy dependency to a release that resolves to >= 2.15.0 and redeploy; verify with mix deps or rebar3 tree that no transitive pin holds an older version. If immediate upgrade is not possible, place a reverse proxy (nginx, HAProxy, an API gateway) in front of Cowboy and enforce a strict client_max_body_size / request body timeout on multipart endpoints, and reject requests where the headers section of any multipart part exceeds a low threshold - note the side effect that legitimate clients sending unusually large part headers (e.g. long Content-Disposition with many parameters) will be rejected. As a last resort, disable multipart handlers entirely on internet-exposed routes until patched, accepting that file-upload functionality will break. Consult the advisories at https://cna.erlef.org/cves/CVE-2026-8466.html and the patch at https://github.com/ninenines/cowboy/commit/5c6a2061b41bb5771c4659fac7d5a822dca5bafb.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cowboy is a small, fast HTTP/1.1, HTTP/2, and WebSocket server for Erlang/OTP, widely embedded in BEAM-based web stacks (Phoenix/Plug, Elli alternatives, Erlang microservices). The vulnerable code path is the multipart streaming API: cowboy_req:read_part/3 in src/cowboy_req.erl reads up to Length bytes (default 64 KB) from the request body via stream_multipart/3 and feeds them to cow_multipart:parse_headers/2. When the parser returns more or {more, Buffer2}, the function recursed with << Buffer/binary, Data/binary >> with no byte_size check, in contrast to the sibling read_part_body/4 which already enforced a byte_size(Acc) > Length guard. The root cause maps to CWE-770 (Allocation of Resources Without Limits or Throttling): a parser state that consumes attacker-controlled bytes without an upper bound on the accumulator. The fix introduces read_part_more/3 which exits with {request_error, {multipart, headers}, 'Malformed body; multipart header block too large.'} once the buffer exceeds 2048 bytes - twice the largest expected header block.
Know when Cowboy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (EEF) · only source for this CVE.
CVSS VectorVendor: EEF
Lifecycle Timeline
2DescriptionCVE.org
Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing.
cowboy_req:read_part/3 in src/cowboy_req.erl accumulates incoming request bytes into a Buffer binary with no upper-bound check. When cow_multipart:parse_headers/2 returns more or {more, Buffer2}, the function reads up to Length bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the byte_size(Acc) > Length guard present in the sibling function read_part_body/4. An unauthenticated attacker can send a multipart/form-data request whose body never yields a complete header section - for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \r\n\r\n - and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory.
This issue affects cowboy from 2.0.0 before 2.15.0.
Executive ViewAI
Cowboy web server versions 2.0.0-2.14.x contain an unauthenticated denial-of-service vulnerability allowing remote attackers to crash production services via memory exhaustion. Organizations running these versions face unplanned availability disruption without any authentication requirement. A vendor patch is available for immediate deployment.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-30133
GHSA-jfc2-q6qh-g5x8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB