CVE-2026-42310

MEDIUM CVSS 4.0: 5.1 EPSS 0.17%
Updated Jul 25, 2026
Python
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions 4.2.0 — 12.2.0
Fixed In 12.2.0
Type CWE-835
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Python Pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
4.2.0 12.2.0