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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pillow | no fix listed | DEBIAN-CVE-2026-112404 |
| Debian:13 | pillow | no fix listed | DEBIAN-CVE-2026-112404 |
| Debian:14 | pillow | no fix listed | DEBIAN-CVE-2026-112404 |
| PyPI | pillow | 13.0.0 | GHSA-c6hw-5grf-ff96 |
| Ubuntu:22.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112404 |
| Ubuntu:24.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112404 |
| Ubuntu:26.04:LTS | pillow | no fix listed | UBUNTU-CVE-2026-112404 |
| Ubuntu:26.10 | pillow | no fix listed | UBUNTU-CVE-2026-112404 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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