StraitOfVuln
Latest / CVE-2026-112898

CVE-2026-112898

MediumCVSS 5.3 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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.

Details

CVE ID
CVE-2026-112898
Published / updated
19 Oct 2026, 22:17 UTC · last modified 28 Oct 2026, 16:17 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N · Attack vector: Network
Affected vendor
Affected products
Pillow
Affected versions
Pillow: ≥ 9.1.0, < 13.0.0
Fixed versions
pillow 13.0.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.46% probability of exploitation in the next 30 days · 42% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pillow 13.0.0) per the vendor advisory.
Source (CNA)
security-advisories@github.com