CVE-2026-42311

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

State
Published
Severity
8.6 High
Published
May 9, 2026
Updated
May 12, 2026
Reserved
Apr 26, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
4.08.6 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

Affected Products

ProductVersions
Pillowpython-pillow
  • >= 10.3.0, < 12.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.