sadrobot

← Back to the monthly list · python-pillow →

CVE-2026-112902 python-pillow · Pillow

9.1 Critical

AI summary

In Pillow through 12.3.0, the libtiff TIFF encoder can pass mismatched arguments to TIFFSetField(), so saving attacker-controlled metadata may cause invalid memory reads. This can leak process memory into the output or crash the process, reachable when re-saving compressed TIFFs or via EXIF-preserving conversions. Critical (CVSS 9.1); upgrade to 13.0.0.

Official 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.

Published
2026-11-05 21:18 UTC
Modified
2026-11-10 18:36 UTC
CVSS
9.1 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
0.68% (percentile 48)
ENISA EUVD
EUVD-2026-117793
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
CWE
CWE-686

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
none
Availability
high

References