PT-2026-117685
CVE-2026-112898
·
Published
2026-10-19
·
Updated
2026-11-12
Description by
CVSS 4.0
6.9
MediumMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Pillow versions 9.1.0 through 12.x
Description
Pillow can disclose uninitialized stack memory when the
Image.quantize() function uses an empty palette. This occurs because the ImagingPaletteCacheUpdate() function leaves a local cache array uninitialized when the palette contains zero entries, causing the conversion path to emit those bytes as output pixel indices. An attacker controlling the palette image can retrieve stack contents, such as addresses and stack-canary data, from a returned PNG or GIF file, without causing memory corruption or a process crash.Recommendations
Update to version 13.0.0.
Found an issue in the description? Have something to add? Feel free to write us 👾