CVE-2026-42311CWE-190CWE-787

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

High · published May 9, 2026

CVSS v4.0
8.6
EPSS
0%
Percentile
11.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.6 · HIGH
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
EPSS
0.00217 · 11.5th percentile
Weaknesses
CWE-190 · Integer Overflow or Wraparound; CWE-787 · Out-of-bounds Write
Published
2026-05-09T04:11Z
EPSS history
Timeline
  • 09 MAY 04:11Z
    Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)
    cvelistv5