Skip to content
RedCVE

CVE-2026-120287elixir-plug Plug allocation of resources without limits

elixir-plugPublished:

CVSS score

6.9

Medium

CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Exploit probability (EPSS)

0.52%

0.52% chance of exploitation in the next 30 days, higher than 45.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

How to fix it, step by step

  1. Check whether you're affected

    Find every system running elixir-plug Plug and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Plug to 1.20.4 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
elixir-plug Plug≥ 1.13.0, < 1.20.4 · e06acbd3d381931f23cbde7d763136c9ccb091ac

Weakness

  • CWE-770 allocation of resources without limits

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-120287 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-120287?

CVE-2026-120287 has a CVSS 4.0 base score of 6.9 (medium).

Which versions are affected?

Elixir Plug Plug (≥ 1.13.0, < 1.20.4; e06acbd3d381931f23cbde7d763136c9ccb091ac)

Is there a patch for CVE-2026-120287?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.