CVE-2026-42311
Severity CVSS v4.0:
HIGH
Type:
CWE-190
Integer Overflow or Wraparound
Publication date:
09/05/2026
Last modified:
14/05/2026
Description
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.
Impact
Base Score 4.0
8.60
Severity 4.0
HIGH
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | 10.3.0 (including) | 12.2.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



