ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-59204

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpillow
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpillow
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpillow
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpillow
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpillow-python2
All versions, no fix listed
Ubuntu:22.04:LTSpillow
All versions before 9.0.1-1ubuntu0.6 (fixed in 9.0.1-1ubuntu0.6)
Ubuntu:24.04:LTSpillow
All versions before 10.2.0-1ubuntu1.4 (fixed in 10.2.0-1ubuntu1.4)
Ubuntu:26.04:LTSpillow
All versions before 12.1.1-2ubuntu1.4 (fixed in 12.1.1-2ubuntu1.4)

References