CVE-2026-112902
Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
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.
INFO
Published Date :
Nov. 5, 2026, 9:18 p.m.
Last Modified :
Nov. 10, 2026, 6:36 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update Pillow to the latest version.
- Apply security patches to Pillow.
- Rebuild the application if necessary.
- Test the application thoroughly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-112902.
| URL | Resource |
|---|---|
| https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d | Patch |
| https://github.com/python-pillow/Pillow/pull/10227 | Issue Tracking Patch |
| https://github.com/python-pillow/Pillow/releases/tag/13.0.0 | Release Notes |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v | Vendor Advisory Exploit Patch Mitigation |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-112902 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-112902
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-112902 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-112902 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 10, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Added CPE Configuration OR *cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* versions up to (excluding) 13.0.0 Added Reference Type GitHub, Inc.: https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d Types: Patch Added Reference Type GitHub, Inc.: https://github.com/python-pillow/Pillow/pull/10227 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/python-pillow/Pillow/releases/tag/13.0.0 Types: Release Notes Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://github.com/python-pillow/Pillow/pull/10227 Types: Patch, Vendor Advisory nvd-ai-agent-0.4.0-gemma-4-31B-it: https://github.com/python-pillow/Pillow/pull/10227 Types: Issue Tracking, Patch, Patch, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v Types: Exploit, Mitigation, Patch, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 09, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-112902', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-09T17:35:55.690199Z'} -
New CVE Received by [email protected]
Nov. 05, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-686 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/112xxx/CVE-2026-112902.json">CVE-2026-112902</a> Added Reference https://github.com/python-pillow/Pillow/commit/570df030c0d30c2bf5336b2ab59f3902d8ab0b6d Added Reference https://github.com/python-pillow/Pillow/pull/10227 Added Reference https://github.com/python-pillow/Pillow/releases/tag/13.0.0 Added Reference https://github.com/python-pillow/Pillow/security/advisories/GHSA-xvh5-g6gv-559v