← Back to search

CVE-2026-112902

9.1 CRITICALpublic exploit available

Published 2026-11-05 · Updated 2026-11-10

AI risk analysis

Summary
The Pillow library's libtiff TIFF encoder in versions up to 12.3.0 allows invalid tag arguments to be passed to TIFFSetField(), causing out-of-bounds memory reads when processing attacker-controlled metadata during TIFF re-saving or conversion. This can leak process memory contents in the encoded output, leading to sensitive data disclosure.
Exploitability
Exploitation requires an attacker to supply malicious TIFF image metadata (e.g., via upload or API input) that triggers re-saving or conversion to compressed TIFF format with EXIF preservation, and the application must return the processed image to the attacker.
Blast radius
If exploited, attackers could extract sensitive in-memory data such as credentials, tokens, or private user information from the application process memory, potentially affecting all users of the affected service.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade Pillow to version 13.0.0 or later immediately.
memory-disclosuretiffimage-processingcwe-686

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weaknesses

CWE-686

Vendors

python

Products

pillow

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.