WhatCyber / Vulnerabilities / CVE-2026-112898
CVE-2026-112898: python
MEDIUM severity
CVE-2026-112898 affects python. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 5.3 (medium). The EPSS model puts the chance of exploitation in the next 30 days at 0.3%.
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.
Key facts
- CVSS v3
- 5.3 (MEDIUM)
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Published
- 2026-10-19
- Last modified
- 2026-10-28
- NVD status
- Modified
Timeline
- October 19, 2026: Published in the NVD
Weaknesses (CWE)
- CWE-457
Affected products
- python pillow
References
- https://github.com/python-pillow/Pillow/commit/13943c8f857b22f073d30f0ef9b725a0d255f1a4
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-rfgq-q3w2-pmv2
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-rfgq-q3w2-pmv2