CVE-2026-42311

HIGH CVSS 4.0: 8.6 EPSS 0.15%
Updated Jul 25, 2026
Python
Parameter Value
CVSS 8.6 (HIGH)
Affected Versions 10.3.0 — 12.2.0
Fixed In 12.2.0
Type CWE-787 (Out-of-bounds Write), CWE-190 (Integer Overflow)
Vendor Python
Public PoC No

Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. 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
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

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