CVE-2026-42311

HIGH

Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0002
EPSS Percentile 5.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-190 CWE-787
Status published
Products (3)
pypi/pillow 10.3.0 - 12.2.0PyPI
python/pillow 10.3.0 - 12.2.0
python-pillow/Pillow >= 10.3.0, < 12.2.0
Published May 09, 2026
Tracked Since May 09, 2026