CVE-2026-59204

Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service

HIGH
7.5
CVSS Score
Published: July 14, 2026 at 03:38 PM UTC
Updated: October 24, 2026 at 09:10 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.5
Exploit prediction
EPSS 0.4%
SSVC
PoC

Description

Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.

Affected

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

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

References (4)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j
x_refsource_MISCExploitIssue TrackingPatch
Source: cverecord
https://github.com/python-pillow/Pillow/pull/9704
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/python-pillow/Pillow/releases/tag/12.3.0

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

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

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-789CWE-770

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