CVE-2026-42311

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

History

14 May 2026, 20:27

Type Values Removed Values Added
First Time Python
Python pillow
References () https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea - () https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea - Patch
References () https://github.com/python-pillow/Pillow/pull/9520 - () https://github.com/python-pillow/Pillow/pull/9520 - Issue Tracking, Patch
References () https://github.com/python-pillow/Pillow/releases/tag/12.2.0 - () https://github.com/python-pillow/Pillow/releases/tag/12.2.0 - Product, Release Notes
References () https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr - () https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr - Patch, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

09 May 2026, 06:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-09 06:16

Updated : 2026-05-14 20:27


NVD link : CVE-2026-42311

Mitre link : CVE-2026-42311

CVE.ORG link : CVE-2026-42311


JSON object : View

Products Affected

python

  • pillow
CWE
CWE-190

Integer Overflow or Wraparound

CWE-787

Out-of-bounds Write