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.

Severity (CVSS 4.0)8.3High
Exploit odds (30 days)0.5%top 57.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12pillowno fix listedDEBIAN-CVE-2026-112902
Debian:13pillowno fix listedDEBIAN-CVE-2026-112902
Debian:14pillowno fix listedDEBIAN-CVE-2026-112902
PyPIpillow13.0.0GHSA-xvh5-g6gv-559v
Ubuntu:22.04:LTSpillowno fix listedUBUNTU-CVE-2026-112902
Ubuntu:24.04:LTSpillowno fix listedUBUNTU-CVE-2026-112902
Ubuntu:26.04:LTSpillowno fix listedUBUNTU-CVE-2026-112902
Ubuntu:26.10pillowno fix listedUBUNTU-CVE-2026-112902

Affected products (as reported)

VendorProductVersions
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