CVE-2026-120287
Multipart `:length` limit not charged for part and header framing in Plug.Parsers.MULTIPART
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.520% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by EEFCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:03.129Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:03.129Z | CVE Program |
| epss | verified | 2026-11-19T18:27:15.839Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:52.473Z | OSV |
| affected | verified | 2026-11-19T12:58:03.129Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:03.129Z | CVE Program |
Affected versions and configuration
elixir-plug plug; modules: 'Elixir.Plug.Parsers.MULTIPART'; default status: unaffected: 1.13.0 to < 1.20.4 [affected; scheme: semver] elixir-plug plug; modules: 'Elixir.Plug.Parsers.MULTIPART'; default status: unaffected: e06acbd3d381931f23cbde7d763136c9ccb091ac to < * [affected; scheme: git]; changes: [{"at":"497913f2a6d744d693e98e96c5b9c6d88c265695","status":"unaffected"},{"at":"3d3fb645323643935c6c94863c1b3edfd62e2828","status":"unaffected"}]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-plug/plug",
"vendor": "elixir-plug",
"modules": [
"'Elixir.Plug.Parsers.MULTIPART'"
],
"product": "plug",
"versions": [
{
"status": "affected",
"version": "1.13.0",
"lessThan": "1.20.4",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/plug",
"packageName": "plug",
"programFiles": [
"lib/plug/parsers/multipart.ex"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse/5"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_headers/5"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':multipart_type/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-plug/plug",
"vendor": "elixir-plug",
"modules": [
"'Elixir.Plug.Parsers.MULTIPART'"
],
"product": "plug",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "497913f2a6d744d693e98e96c5b9c6d88c265695",
"status": "unaffected"
},
{
"at": "3d3fb645323643935c6c94863c1b3edfd62e2828",
"status": "unaffected"
}
],
"version": "e06acbd3d381931f23cbde7d763136c9ccb091ac",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/elixir-plug/plug",
"packageName": "elixir-plug/plug",
"programFiles": [
"lib/plug/parsers/multipart.ex"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse/5"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_headers/5"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':multipart_type/1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-120287",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-17T17:57:59.776542Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-17T17:58:14.260Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-120287",
"aliases": [
"CVE-2026-120287",
"GHSA-qj4r-jh2r-rw3f"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.13.0"
},
{
"fixed": "1.20.4"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.13.0",
"1.13.1",
"1.13.2",
"1.13.3",
"1.13.4",
"1.13.5",
"1.13.6",
"1.14.0",
"1.14.1",
"1.14.2",
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.15.4",
"1.15.5",
"1.15.6",
"1.16.0",
"1.16.1",
"1.16.2",
"1.16.3",
"1.16.4",
"1.16.5",
"1.16.6",
"1.17.0",
"1.17.1",
"1.17.2",
"1.17.3",
"1.17.4",
"1.18.0",
"1.18.1",
"1.18.2",
"1.18.3",
"1.18.4",
"1.18.5",
"1.19.0",
"1.19.1",
"1.19.2",
"1.19.3",
"1.19.4",
"1.19.5",
"1.20.0",
"1.20.1",
"1.20.2",
"1.20.3"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-120287.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/elixir-plug/plug/security/advisories/GHSA-qj4r-jh2r-rw3f",
"type": "ADVISORY"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-120287.html",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/e06acbd3d381931f23cbde7d763136c9ccb091ac",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/497913f2a6d744d693e98e96c5b9c6d88c265695",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/3d3fb645323643935c6c94863c1b3edfd62e2828",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/plug",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/elixir-plug/plug",
"type": "GIT",
"events": [
{
"introduced": "e06acbd3d381931f23cbde7d763136c9ccb091ac"
},
{
"fixed": "497913f2a6d744d693e98e96c5b9c6d88c265695"
},
{
"fixed": "3d3fb645323643935c6c94863c1b3edfd62e2828"
}
]
}
],
"versions": [
"v1.20.3",
"v1.20.1",
"v1.20.0",
"v1.15.3",
"v1.17.0",
"v1.18.1",
"v1.19.1",
"v1.18.0",
"v1.16.1",
"v1.16.0",
"v1.15.2",
"v1.15.1",
"v1.15.0",
"v1.14.2",
"v1.14.1",
"v1.14.0",
"v1.13.5",
"v1.13.4",
"v1.13.3",
"v1.13.2",
"v1.13.1",
"v1.13.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-120287.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-770"
],
"capec_ids": [
"CAPEC-130"
]
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.20.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:52.473ZArchived source JSON
Source publication: 2026-11-17T16:53:38.533Z
Source modification: 2026-11-19T07:00:02.956ZDocument fingerprint
41de0ba8569a934a1c321af7799fb0d3e7824e7225f43c5487dd354316bcb03b - CVE ProgramConsulted: 2026-11-19T12:58:03.129ZArchived source JSON
Source publication: 2026-11-17T16:53:38.533Z
Source modification: 2026-11-19T06:59:55.530ZDocument fingerprint
af247f2f3b7a4be26200a480f456ecdcafe7b20c91bf466da2488de115823330 - FIRST EPSSConsulted: 2026-11-19T18:27:15.839ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3968edb9ea74413a682c29f7f13eea69d6ccc4a7bad8631fc08b2863ebe922b4 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence