CVE-2026-42311

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

HIGH
7.8
CVSS Score
Published: May 9, 2026 at 04:11 AM UTC
Updated: July 24, 2026 at 09:20 PM UTC
2 products affected across 2 vendorsPillowPillow

Using Pillow by python-pillow?

Get instant alerts when new vulnerabilities affect Pillow - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

10.3.0 ≤ v < 12.2.0
Affected range stops below 12.2.0, so it looks safe — our inference, not a vendor statement
v < 12.2.0
Affected range stops below 12.2.0, so it looks safe — our inference, not a vendor statement

References (4)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/python-pillow/Pillow/pull/9520
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/python-pillow/Pillow/releases/tag/12.2.0

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-190CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card