CVE-2026-112902 Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.7%
- percentile 48%
- Fix
- Named by a source
- CVE published 5 Nov 2026
Reference
None of the "Needs attention" rules apply right now.
Critical, network, no login: EPSS 0.7%, published in the last 30 days (+25) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 13.0.0 or later on your release line.
- Patch: https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d
- Patch: https://github.com/python-pillow/Pillow/pull/10227
- Commit / pull request: https://github.com/github/advisory-database/pull/10903
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/af56ace297b0991d02988fcc2ea933e4824b4fb3
- Advisory: https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-112902
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected>= 5.4.0, < 13.0.0Fixed in13.0.0OSV (GHSA-xvh5-g6gv-559v)
- Affected< 13.0.0Fixed in13.0.0OSV (PYSEC-2026-4363)
python pillow product:python/pillow
- Affected< 13.0.0Affected range ends before13.0.0as published by CPE data (via the NVD API)
python-pillow Pillow product:pythonpillow/pillow
- Affected< 13.0.0Affected range ends before13.0.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 9.1 CRITICAL (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-686
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 5 Nov 2026Published
References
- patchhttps://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d
- patchhttps://github.com/python-pillow/Pillow/pull/10227
- advisoryhttps://github.com/python-pillow/Pillow/releases/tag/13.0.0
- exploithttps://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-112902
- commit / pull requesthttps://github.com/github/advisory-database/pull/10903
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/af56ace297b0991d02988fcc2ea933e4824b4fb3
- otherhttps://github.com/python-pillow/Pillow
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-112902 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-xvh5-g6gv-559v (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-4363 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 29 min ago · osv 29 min ago · nvd 90 min ago · epss 29 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2026-112902, GHSA-xvh5-g6gv-559v, PYSEC-2026-4363