CVE-2026-112898
published medium CVSS 4.0 · 6.9Pillow: Image.quantize() with empty palette leaks uninitialized stack memory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow>= 9.1.0, < 13.0.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| Ubuntu | noble | pillow | Advisory build | 10.2.0-1ubuntu1.5 | USN-9064-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
Show 86 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24701-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillows390x | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160100.3.1 | SUSE-SU-2026:24701-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillows390x | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.9.1 | OPENSUSE-SU-2026:22246-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillowaarch64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillowppc64le | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillows390x | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillowx86_64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tks390x | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160100.3.1 | OPENSUSE-SU-2026:22301-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowaarch64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowppc64le | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillows390x | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillowx86_64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkaarch64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkppc64le | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tks390x | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Pillow-tkx86_64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillowaarch64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillowppc64le | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillows390x | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillowx86_64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tkaarch64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tkppc64le | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tks390x | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Pillow-tkx86_64 | Advisory build | 13.0.0-1.1 | OPENSUSE-SU-2026:12230-1 |
| Ubuntu | noble | python3-pil | Advisory build | 10.2.0-1ubuntu1.5 | USN-9064-1 |
| Ubuntu | noble | python3-pil.imagetk | Advisory build | 10.2.0-1ubuntu1.5 | USN-9064-1 |
| Ubuntu | resolute | pillow | Advisory build | 12.1.1-2ubuntu1.5 | USN-9064-1 |
| Ubuntu | resolute | python3-pil | Advisory build | 12.1.1-2ubuntu1.5 | USN-9064-1 |
| Ubuntu | resolute | python3-pil.imagetk | Advisory build | 12.1.1-2ubuntu1.5 | USN-9064-1 |
| Ubuntu | stonking | pillow | Advisory build | 12.3.0-1ubuntu2 | USN-9064-1 |
| Ubuntu | stonking | python3-pil | Advisory build | 12.3.0-1ubuntu2 | USN-9064-1 |
| Ubuntu | stonking | python3-pil.imagetk | Advisory build | 12.3.0-1ubuntu2 | USN-9064-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | >= 9.1.0, < 13.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-457 CWE-457: Use of Uninitialized Variable
References
3Provider assertions
2GitHub_M · cna
Pillow: Image.quantize() with empty palette leaks uninitialized stack memory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d358f162492d8b96e792a67d67c16ea59755b53f6a20f468cf1fec3c7277b622
- Ingested
- 28 Oct 2026, 15:21:30 UTC
- Source record
- Official CVE record