Bug 2555887 (CVE-2026-112898) - CVE-2026-112898 pillow: Pillow: Information disclosure via empty palette quantization
Summary: CVE-2026-112898 pillow: Pillow: Information disclosure via empty palette quan...
Keywords:
Status: NEW
Alias: CVE-2026-112898
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-19 22:21 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:30 UTC (History)
58 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-19 22:21:29 UTC
Pillow is a Python imaging library. From 9.1.0 until 13.0.0, Pillow can disclose uninitialized stack memory when Image.quantize() uses an empty palette. ImagingPaletteCacheUpdate() leaves a local cache array uninitialized when the palette has zero entries, and the conversion path emits those bytes as output pixel indices. An attacker who controls the palette image can obtain stack contents from a returned PNG or GIF. This can disclose addresses and stack-canary data without an out-of-bounds access, memory corruption, or process crash. This issue is fixed in version 13.0.0.


Note You need to log in before you can comment on or make changes to this bug.