Ad · Leaderboard 728×90

CVE-2026-112896

8.8High

Published 19 Oct 2026 · NVD status: Received · AI triage by gemini-3.8-flash

8.8High
Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None
Impact
High impact on availability
Weakness
CWE-125

Impact

Remote attackers can crash your service or leak heap memory by supplying a crafted TIFF image. This requires the application to process and re-encode the untrusted TIFF using Pillow with libtiff.

Root cause

The TIFF encoder reads past the ColorMap buffer because it reuses retained metadata with plane sizes inconsistent with BitsPerSample.

Affected systems

Pillow versions prior to 13.0.0

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/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

Fix & remediation

Upgrade Pillow to version 13.0.0 or later. If upgrading immediately is not possible, disable or avoid re-encoding untrusted TIFF files.

shell
$ pip install --upgrade 'pillow>=13.0.0'

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

Ad · In-content banner

NVD description

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue is fixed in version 13.0.0.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-112896

Ad · Sticky 320×50 / 728×90