Vulnerability

CVE-2026-112902

highCVSS 4.0 8.3Published 5 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to TIFFSetField() that do not match libtiff’s definition of the corresponding tag. When an application saves attacker-controlled image metadata through this encoder, crafted tag values can cause invalid memory reads, copying process memory into the encoded output or crashing the process. Applications that return the encoded output to an attacker can disclose that memory. The issue is reachable when re-saving compressed TIFF images and through certain conversions that preserve EXIF metadata into compressed TIFF output. This vulnerability is fixed in version 13.0.0.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python pillow

Weakness type

References

  • github.com /python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f39…
  • github.com /python-pillow/Pillow/pull/10227
  • github.com /python-pillow/Pillow/releases/tag/13.0.0
  • github.com /python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-55…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning