Vulnerability · Published Nov 5, 2026 · Assigned by GitHub_M
CVE-2026-112902Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
High 8.3
In plain English
A high-severity security flaw in Pillow from python-pillow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to TIFFSetField() that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pillow | no fix listed | DEBIAN-CVE-2026-112902 |
| Debian:13 | pillow | no fix listed | DEBIAN-CVE-2026-112902 |
| Debian:14 | pillow | no fix listed | DEBIAN-CVE-2026-112902 |
| PyPI | pillow | 13.0.0 | GHSA-xvh5-g6gv-559v |
| Ubuntu:22.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112902 |
| Ubuntu:24.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112902 |
| Ubuntu:26.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112902 |
| Ubuntu:26.10 | pillow | no fix listed | UBUNTU-CVE-2026-112902 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | < 13.0.0 |
Weakness: CWE-686 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/10227 x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 x_refsource_MISC