CVE-2026-112404

published 19 Oct 2026 · updated 28 Oct 2026

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

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
python-pillow>=8.1.0 <13.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112404 severity on Zeptric[![CVE-2026-112404](https://zeptric.io/badge/cve/CVE-2026-112404.svg)](https://zeptric.io/cve/CVE-2026-112404)