EXPOSURES › CVE-2026-112902
CVE-2026-112902
CRITICALPillow versions through 12.3.0 allow crafted TIFF metadata to trigger invalid memory reads that leak process memory or crash the application.
The Pillow library's libtiff encoder mishandles attacker-controlled metadata, enabling memory disclosure or crashes when saving compressed TIFF images. DIB organizations must patch to version 13.0.0 to prevent memory leaks that could expose sensitive data or destabilize imaging workflows. This is not an RCE or zero-day, but the memory disclosure risk warrants immediate remediation.
Shame score — A memory disclosure vulnerability in a widely used imaging library that requires patching but lacks RCE or zero-day exploitation.
▸ RECOMMENDED ACTION Critical severity — schedule patching of the affected products.
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.