CVE-2026-112896

published 19 Oct 2026 · updated 20 Oct 2026

Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read

8.8HighCVSS 8.8EPSS 0%

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

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue is fixed in version 13.0.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
python-pillow<13.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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