CVE-2026-112897
pillow: pillow: Information disclosure via uninitialized buffer in TIFF decoding
Overview
Description
Pillow is a Python imaging library. From 5.3.0 until 13.0.0, Pillow can return uninitialized memory as pixels when libtiff performs a short decode of JPEG-compressed or Group 4 fax TIFF data. The _decodeStrip and _decodeTile buffers can be larger than the bytes written by libtiff, but Pillow converts the expected rows without clearing the unwritten tail. The tile path is affected from 5.3.0 and the strip path from 6.0.0. An attacker can supply a crafted TIFF to an application that loads and returns or re-encodes its pixels. This can disclose stale heap contents without memory corruption or a process crash. This issue is fixed in version 13.0.0.
Source: OX vulnerability database
Severity
6.2 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-908
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | pillow | >=5.3.0, <13.0.0 | 13.0.0 |
| PyPI | pillow | >=5.3.0, <13.0.0 | 13.0.0 |
| Seal PyPI | pillow | >=10.0.1+sp0, <10.0.1+sp999>=7.2.0+sp0, <7.2.0+sp999>=9.3.0+sp0, <9.3.0+sp999>=9.5.0+sp0, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
| Seal PyPI | seal-pillow | >=10.0.1+sp1, <10.0.1+sp999>=7.2.0+sp1, <7.2.0+sp999>=9.3.0+sp1, <9.3.0+sp999>=9.5.0+sp1, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 55 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +1 | affected |
SUSE Linux Enterprise 6 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | python311-pillow +1 | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| 15.5 | python311-pillow +1 | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| 15.6 | python311-pillow +1 | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| 15.7 | python3-pillow | 7.2.0-150300.3.33.1 | SUSE-SU-2026:5038-1 |
| 15.7 | python311-pillow +1 | 9.5.0-150400.5.28.1 | SUSE-SU-2026:5194-1 |
| 16.0 | python313-pillow +1 | 11.3.0-160000.9.1 | SUSE-SU-2026:24656-1 |
1 more row
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | python-pillow-debuginfo +6 | 9.4.0-2.amzn2023.0.12 |
chainguard 1 release · 28 packages
| Release | Package | Fixed in |
|---|---|---|
| gftools | 0.10.4-r1 | |
| open-webui | 0.12.3-r6 | |
| kserve-xgbserver | 0.21.0-r3 | |
| kserve | 0.21.0-r9 | |
| nemo-gym | 0.5.0_rc0_git20260729-r6 | |
| nemo-rl-cuda-13-0 | 0.7.0-r11 |
22 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | affected |
| 12 | pillow | affected |
| 13 | pillow | affected |
| 14 | pillow | 13.0.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pillow | affected |
openSUSE Leap 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-pillow +1 | 11.3.0-160000.9.1 | openSUSE-SU-2026:22246-1 |
| 16.1 | python313-pillow +1 | 11.3.0-160100.3.1 | openSUSE-SU-2026:22301-1 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.9+esm2 |
| 22.04 | pillow | 9.0.1-1ubuntu0.7 |
| 24.04 | pillow | 10.2.0-1ubuntu1.5 |
| 26.04 | pillow | 12.1.1-2ubuntu1.5 |
wolfi 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| gftools | 0.10.4-r1 | |
| open-webui | 0.12.3-r6 | |
| kserve | 0.21.0-r9 | |
| py3-pillow | 13.0.0-r0 | |
| kubeflow-pipelines-visualization-server | 2.17.2-r7 | |
| superset-6-0 | 6.0.0-r21 |
1 more row
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-112897
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce
- github.com https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rg
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-112897
- ubuntu.com https://ubuntu.com/security/notices/USN-9064-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-112897
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.