Feed
5.5MEDIUM

CVE-2026-42310Pillow has a PDF Parsing Trailer Infinite Loop (DoS)

A medium-severity vulnerability reachable with local access, needing low privileges and no user interaction. EPSS estimates a 0.2% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.2%
percentile 4%
Priority
8/100 low
how it is computed
Fix
Named by a source
CVE published 9 May 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.2% (+0) · No user interaction (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected>= 4.2.0, < 12.2.0Fixed in12.2.0OSV (PYSEC-2026-2874)
  • python pillow product:python/pillow

    • Affected>= 4.2.0, < 12.2.0Affected range ends before12.2.0as published by CPE data (via the NVD API)
  • python-pillow Pillow product:pythonpillow/pillow

    • Affected>= 4.2.0, < 12.2.0Affected range ends before12.2.0as published by CNA (CVE List)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
5.5 MEDIUM (version 3.1)
Score from
NVD
Attack vector
local
Attack complexity
low
Privileges required
low
User interaction
none
Weakness
CWE-835
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.

Update history

  • 9 May 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 27 min ago · osv 27 min ago · nvd 87 min ago · epss 26 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2026-42310, GHSA-r73j-pqj5-w3x7, PYSEC-2026-2874