CVE-2026-112902: Vulnerability in Python-pillow Pillow
Critical. 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...
PyPI, CWE-686
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-xvh5-g6gv-559v
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Weakness
- CWE-686
- Published
- 21 Oct 2026
- Last change
- 10 Nov 2026
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Python-pillow Pillow Before 13.0.0; Version < 13.0.0. Fixed in 13.0.0
- Python Pillow Before 13.0.0. Fixed in 13.0.0
Affected packages
Vulnerable version ranges and fixed releases
- Pillow PyPI, Affected through 12.3.0. Fixed in 13.0.0
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/python-pillow/Pillow/commit/af56ace297b0991d02988fcc2ea933e4824b4fb3
- github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d
- github.com/python-pillow/Pillow/pull/10227
Related
- Pillow vulnerabilities Recent advisories, watch this product
- Pillow vulnerabilities Recent advisories, watch this product