← Back to the monthly list · python-pillow →
CVE-2026-112902 python-pillow · Pillow
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
- NVD · CVE.org
- github.com
https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v - github.com
https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d - github.com
https://github.com/python-pillow/Pillow/pull/10227 - github.com
https://github.com/python-pillow/Pillow/releases/tag/13.0.0