CVE-2026-42311
HIGHPillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr
X_Refsource_Misc x_refsource_misc
https://github.com/python-pillow/Pillow/pull/9520
X_Refsource_Misc x_refsource_misc
https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea
X_Refsource_Misc x_refsource_misc
https://github.com/python-pillow/Pillow/releases/tag/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