Skip to main content

Cowboy EUVDEUVD-2026-30133

| CVE-2026-8466 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-05-13 EEF GHSA-jfc2-q6qh-g5x8
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Cowboy-backed multipart endpoint
  2. Delivery
    Open concurrent HTTP connections with multipart/form-data Content-Type
  3. Exploit
    Stream body bytes without boundary or \r\n\r\n terminator
  4. Execution
    Cowboy request processes accumulate Buffer binary unbounded
  5. Persist
    BEAM VM exhausts memory and crashes
  6. Impact
    Service-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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

cowboy 2.0.0 <2.15.0
cowboy 917cf99e10c41676183d501b86af6e47c95afb89 <5c6a2061b41bb5771c4659fac7d5a822dca5bafb

Affected Packages

euvd cowboy fix: 2.15.0

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

Vendor (EEF) PRIMARY 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

Primary rating from Vendor (EEF) · only source for this CVE.

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 13, 2026 - 19:22 NVD
8.2 (HIGH)
CVE Published
May 13, 2026 - 18:26 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy