
CVE catalog
CVE-2026-112897
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 _dec
- Severity
- High · CVSS 8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.51% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pillow | sid | 13.0.0-1 | fixed |
| Debian | pillow | forky | 12.3.0-1 | vulnerable |
| Debian | pillow | trixie | 11.1.0-5+deb13u4 | vulnerable |
| Debian | pillow | trixie-security | 11.1.0-5+deb13u3 | vulnerable |
| Debian | pillow | bookworm | 9.4.0-1.1+deb12u1 | vulnerable |
| Debian | pillow | bookworm-security | 9.4.0-1.1+deb12u1 | vulnerable |
| Ubuntu | pillow | pro | 6.1.0-1 | vulnerable |
| Ubuntu | pillow | pro | 6.1.0-1build1 | vulnerable |
| Ubuntu | pillow | pro | 6.2.1-2 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4build1 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.1 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.2 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.3 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.4 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.5 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.6 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.7 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.8 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.9 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.9+esm1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3~build1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3ubuntu0.1~esm1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3ubuntu0.1~esm2 | vulnerable |
| Ubuntu | pillow | 22.04 | 8.1.2+dfsg-0.3 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.0-1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1build1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.2 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.3 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.4 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.5 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.0.0-1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.1.0-1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1build1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1ubuntu1.2 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1ubuntu1.3 | vulnerable |
| Ubuntu | pillow | 26.10 | 12.1.1-2ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.10 | 12.3.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu2 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.0.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.2 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.3 | vulnerable |
| Cpe | pillow | Not reported | 13.0.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pillow | source | sid | 13.0.0-1 | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | forky | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | pillow | cpe | Not reported | 13.0.0 | Not reported | NVD-CVE-2026-112897 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pil]Affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
- [python3-pil.imagetk]Affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
- [python-pil-doc]Affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· all · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
[Debian 13 (Trixie)]
- [python3-pil]Affected
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
nvd · pillow · debian · 13
- [python3-pil.imagetk]Affected
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
nvd · pillow · debian · 13
- [python-pil-doc]Affected
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· all · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· all · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
nvd · pillow · debian · 13
Observed:
References
- [https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce]
- [https://github.com/python-pillow/Pillow/releases/tag/13.0.0]
- [https://github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rg]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-112897]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-112897]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-112897]
- [https://security-tracker.debian.org/tracker/CVE-2026-112897]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-112897.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]