CVE-2026-112897

Pillow is a Python imaging library. From 5.3.0 until 13.0.0, Pillow can return uninitialized memory as pixels when libtiff performs a short decode of JPEG-compressed or Group 4 fax TIFF data. The _decodeStrip and _decodeTile buffers can be larger than the bytes written by libtiff, but Pillow converts the expected rows without clearing the unwritten tail. The tile path is affected from 5.3.0 and the strip path from 6.0.0. An attacker can supply a crafted TIFF to an application that loads and returns or re-encodes its pixels. This can disclose stale heap contents without memory corruption or a process crash. This issue is fixed in version 13.0.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

History

27 Oct 2026, 14:55

Type Values Removed Values Added
First Time Python
Python pillow
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.2
References () https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce - () https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce - Patch
References () https://github.com/python-pillow/Pillow/releases/tag/13.0.0 - () https://github.com/python-pillow/Pillow/releases/tag/13.0.0 - Release Notes
References () https://github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rg - () https://github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rg - Exploit, Patch, Vendor Advisory
CPE cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

22 Oct 2026, 22:18

Type Values Removed Values Added
References () https://github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rg - () https://github.com/python-pillow/Pillow/security/advisories/GHSA-q45j-58j2-45rg -

19 Oct 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-19 22:17

Updated : 2026-10-27 14:55


NVD link : CVE-2026-112897

Mitre link : CVE-2026-112897

CVE.ORG link : CVE-2026-112897


JSON object : View

Products Affected

python

  • pillow
CWE
CWE-908

Use of Uninitialized Resource