Vulnerability · Published Oct 19, 2026 · Assigned by GitHub_M

CVE-2026-112404Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels

High 8.8

In plain English

A high-severity security flaw in Pillow from python-pillow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.8High
Exploit odds (30 days)0.4%top 61.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow's TIFF tile and RGBA decode paths can read beyond row data produced by libtiff. In _decodeTile and the RGBA unpacker path, when Pillow and libtiff interpret duplicated PhotometricInterpretation or BitsPerSample tags differently, Pillow does not verify that the required input row fits inside the row libtiff produced, while the strip path has this validation. Loading pixels from such a crafted TIFF can expose adjacent heap data in output pixels or crash the process. This issue is fixed in version 13.0.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pillowno fix listedDEBIAN-CVE-2026-112404
Debian:13pillowno fix listedDEBIAN-CVE-2026-112404
Debian:14pillowno fix listedDEBIAN-CVE-2026-112404
PyPIpillow13.0.0GHSA-c6hw-5grf-ff96
Ubuntu:22.04:LTSpillowno fix listedUBUNTU-CVE-2026-112404
Ubuntu:24.04:LTSpillowno fix listedUBUNTU-CVE-2026-112404
Ubuntu:26.04:LTSpillowno fix listedUBUNTU-CVE-2026-112404
Ubuntu:26.10pillowno fix listedUBUNTU-CVE-2026-112404

Affected products (as reported)

VendorProductVersions
python-pillow Pillow >= 8.1.0, < 13.0.0

Weakness: CWE-126 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

References