6.9

CVE-2026-112898: Pillow: Image.quantize() with empty palette leaks uninitialized stack memory

Modified
AliasesDEBIAN-CVE-2026-112898GHSA-rfgq-q3w2-pmv2CGA-4jp3-q8gv-52rq
Published 19-10-2026Last modified 28-10-2026

Vulnerability summary

CVE-2026-112898 is a medium (CVSS 6.9) Use of Uninitialized Variable vulnerability in python-pillow pillow. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.46%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 8 · Related 7

Timeline

  1. 19-10-2026
    PublishedVulnerability first disclosed.
  2. 28-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

Increase +0.12 pp

From 0.34% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pillow

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard24 products
  • apache-beam-python-3.12-sdkAll versions (No fix recorded) | < 2.77.0-r5
  • mlflowAll versions (No fix recorded) | < 3.17.2-r2
  • mlflow-fipsAll versions (No fix recorded) | < 3.17.2-r3
  • nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r6
  • nemo-rl-cuda-13.0-automodelAll versions (No fix recorded) | < 0.7.0-r11
Wolfi6 products
  • mlflowAll versions (No fix recorded)
  • open-webui< 0.12.3-r6 | All versions (No fix recorded)
  • py3.10-pillowAll versions (No fix recorded)
  • py3.11-pillowAll versions (No fix recorded) | < 13.0.0-r0
  • py3.12-pillowAll versions (No fix recorded) | < 13.0.0-r0
Ubuntu2 products
  • pillowAll versions (No fix recorded) | < 10.2.0-1ubuntu1.5 | < 12.3.0-1ubuntu2 | < 12.1.1-2ubuntu1.5
  • pillow-python2All versions (No fix recorded)
Debian1 product
  • pillowAll versions (No fix recorded) | < 13.0.0-1
PyPI1 product
  • pillow≥ 9.1.0, < 13.0.0
Python1 product
Python-pillow1 product

7 vendors · 36 products

References

10 links