CVE-2026-42311 HIGH

CVE-2026-42311: Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)

Vendor Python-Pillow
Product Pillow
Weakness CWE-190
Published May 9, 2026
Last update May 12, 2026

CVSS base score

8.6/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 9, 2026 CVE published
May 12, 2026 Record updated