CVE-2026-59204

HIGH CVSS 4.0: 8.7 EPSS 0.39%
Updated Jul 21, 2026
Python
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions 8.2.0 — 12.3.0
Fixed In 12.3.0
Type CWE-770 (Allocation Without Limits), CWE-789
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Python Pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
8.2.0 12.3.0