CVE-2026-112902
Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
- Severity
- high CVSS 8.3 (v4.0)
- Affects
- Pillow · python-pillow
- Weakness
- CWE-686: Function Call With Incorrect Argument Type
- Published
- 5 November 2026 by GitHub_M
- First seen on our lists
- 21 October 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] Pillow 13.0.0 fixes long list of vulnerabilities