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

High 8.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-112404?

CVE-2026-112404 is a high-severity vulnerability in Python Pillow, published on 19 Oct 2026.

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.

Weakness: CWE-126

Which versions are affected by CVE-2026-112404?

3 open source packages ship an affected version, including pillow and Pillow. It affects 1 product.

PackageAffectedFixed in
pillow BitnamiFrom 8.1.013.0.0
pillow PyPIFrom 8.1.013.0.0
Pillow PyPIFrom 8.1.013.0.0

Products include Python Pillow.

How do I fix CVE-2026-112404?

Upgrade pillow to 13.0.0 or later.

Is CVE-2026-112404 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-112404 exists.

All Python Pillow vulnerabilities

Sources

Also known as BIT-pillow-2026-112404, DEBIAN-CVE-2026-112404, ECHO-f725-7164-03f9, GHSA-c6hw-5grf-ff96, ROOT-APP-PYPI-CVE-2026-112404, UBUNTU-CVE-2026-112404.

Is CVE-2026-112404 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free