Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend multipart/form-data POST to any Plug endpoint
-
DeliveryFill body with header-less parts or empty ':' headers
-
ExploitParser keeps an uncharged entry per part, bypassing :length
-
ExecutionParser process holds 20-80x body size until read completes
-
ImpactExhaust node memory (amplified by concurrency)
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 | No authentication, privileges, or user interaction required (PR:N/UI:N). The only prerequisite is a reachable endpoint behind Plug.Parsers configured with the :multipart parser - which is the Phoenix default, so most Phoenix applications qualify out of the box. The attack works against default configurations: the documented :length budget (8,000,000 bytes by default) does NOT bound this input, because part framing, header separators, and line endings are charged zero. The main limiting factor is external: a reverse-proxy or upstream request-body-size cap mitigates it from outside; endpoints without such a cap, or that read full bodies, are exposed. Effective exploitation benefits from concurrency to multiply the per-request 20-80x memory amplification into node-level exhaustion. |
| Impact | This is a genuine but moderate-priority issue, not a critical one. The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) is the worrying half: the flaw is network-reachable, low-complexity, requires no authentication and no user interaction, and the affected code path (Plug.Parsers with the :multipart parser) is the Phoenix framework default, so reachability is high. The impact half tempers it: VC:N/VI:N and only VA:L - availability-only, partial, with no confidentiality or integrity consequence - yielding the vendor's 6.9 (medium). No EPSS score is present in the input, so probability-of-exploitation cannot be quantified here, and the CVE is NOT in CISA KEV (no confirmed active exploitation). The vuln.today decision label is 'this_month', consistent with a real-but-non-emergency DoS. The mechanism (20-80x memory amplification per request, multiplied by concurrency, with the documented :length control not applying) makes this a credible availability-exhaustion primitive rather than a theoretical one; however the lack of any RCE/data-exposure path, the medium score, and the availability of an external mitigation (reverse-proxy body-size cap) all point to patching in the normal monthly cycle rather than as an emergency. Net: real priority for internet-facing Elixir/Phoenix services lacking an upstream body cap, but not a drop-everything issue. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an HTTP POST with Content-Type multipart/form-data to any endpoint behind Plug.Parsers' :multipart parser (the Phoenix default), with a body built from thousands of boundary-delimited parts that carry no content-disposition header, or header lines consisting only of ':'. Because the parser charges none of the framing bytes against the :length budget, the request bypasses the 8 MB default limit at any size while the parser process holds 20-80x the body in memory, and a few concurrent such requests can exhaust the node. The GHSA advisory and the fixing-commit tests include the exact malicious request shapes, though the input does not flag a standalone weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Memory exhaustion in the Elixir Plug multipart parser (1.13.0 through 1.20.3) lets an unauthenticated remote attacker drive a parser process to hold 20 to 80 times the request size in memory by sending multipart bodies composed of parts without headers, or header lines with an empty name and value. The documented :length budget (8,000,000 bytes by default) does not bound these inputs because part delimiters, header separators and line endings are charged zero bytes, so such a request never trips the limit at any size. Any endpoint behind Plug.Parsers configured with the :multipart parser is reachable, which is the Phoenix default; concurrency is needed to turn the per-request amplification into node-level exhaustion, and an upstream request-body-size cap mitigates it from outside. No public exploit code was identified at time of analysis and the issue is not on CISA KEV; this is a genuine but moderate-priority denial-of-service rather than a critical one.
RemediationAI
Vendor-released patch: 1.20.4. Upgrade the plug dependency to 1.20.4 or later, which adds framing charges (6 + 30 bytes per part, 3 bytes per header) so headerless parts and empty header lines count against the :length budget, and also fixes preamble skipping in the streaming parser; the corresponding upstream commits are 3d3fb645323643935c6c94863c1b3edfd62e2828, 497913f2a6d744d693e98e96c5b9c6d88c265695 and e06acbd3d381931f23cbde7d763136c9ccb091ac, with advisory details at https://github.com/elixir-plug/plug/security/advisories/GHSA-qj4r-jh2r-rw3f and https://cna.erlef.org/cves/CVE-2026-120287.html. Where upgrading must be staged, the vendor notes that a reverse proxy or upstream request-body-size cap mitigates the issue from outside the application, since the parser's own :length control does not bound these inputs; the trade-off is that such a cap also rejects legitimately large uploads, so it must be set above the largest expected multipart body and paired with the application's own upload limits. Internal services that accept multipart requests without a proxy body cap should be prioritized for the upgrade, given the 20 to 80 times per-request memory amplification and the effect of concurrent requests.
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
Plug is the Elixir HTTP adapter/connection library that Phoenix applications sit on, and Plug.Parsers.MULTIPART delegates the streaming multipart work to the Erlang module :plug_multipart. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the accounting in lib/plug/parsers/multipart.ex charges the :length budget only with the byte size of each header's name and value plus the bytes of each part body, while the framing bytes - the "--" plus boundary delimiter, the CRLFCRLF header terminator and the per-header ":" and CRLF - cost nothing. Two shapes therefore consume memory at zero budget cost: a part with no headers at all, for which parse_multipart_headers/5 retains a {nil, [], ""} entry together with its header list until the whole body has been read, and a header line consisting of just ":" followed by CRLF, which :plug_multipart accepts as {"", ""} and is charged 0 bytes. Plug.Conn.read_part_headers/2 caps a single header block at min(length, read_length), but nothing bounds the sum across parts, so accumulation is unbounded. The upstream fix charges 6 + 30 bytes of framing per part plus 3 bytes per header, and separately corrects preamble/hand-off handling in src/plug_multipart.erl so a boundary split across reads is no longer dropped, along with regression tests for headerless parts and empty headers. The affected package range is erlang/plug >= 1.13.0 and < 1.20.4; the flaw is present in 1.20.3 and in main at 9f5edc1962, and earlier lines are affected at least as much since the earlier related fix waves (GHSA-468c-vq7p-gh64 and GHSA-95qv-c9g9-rm63) only addressed per-part and file/skipped-part accounting.
Know when Elixir 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:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Unauthenticated, network-reachable multipart endpoint with low complexity and no interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only and partial per request (A:L), with no confidentiality or integrity effect.
Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).
CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Lifecycle Timeline
1DescriptionCVE.org
Allocation of Resources Without Limits or Throttling vulnerability in Plug.Parsers.MULTIPART in elixir-plug plug allows an unauthenticated remote attacker to exhaust memory via a multipart request body built from parts without headers, or from header lines without a name and a value. The parser charges the :length limit only with the name and value bytes of each part header and the bytes of each part body. The part delimiter, the header separator, and the line endings cost nothing.
In lib/plug/parsers/multipart.ex, Plug.Parsers.MULTIPART.parse_multipart_headers/5 keeps an entry for every part without a content-disposition header, together with its header list, until the whole body is read. A request made of such parts does not reach the limit at any size, and the parser process holds a multiple of the request size in memory until parsing completes. Any endpoint that uses Plug.Parsers with the :multipart parser is reachable.
This issue affects plug: from 1.13.0 before 1.20.4.
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.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-
Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti
Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets
Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se
EUVD-2026-127132
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB