StraitOfVuln
Latest / CVE-2026-112897

CVE-2026-112897

MediumCVSS 6.2 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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.

Details

CVE ID
CVE-2026-112897
Published / updated
19 Oct 2026, 22:17 UTC · last modified 27 Oct 2026, 14:55 UTC
Severity
MEDIUM
CVSS score
6.2 · v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · Attack vector: Local
Affected vendor
Affected products
Pillow
Affected versions
Pillow: ≥ 5.3.0, < 13.0.0
Fixed versions
pillow 13.0.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.48% probability of exploitation in the next 30 days · 43% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pillow 13.0.0) per the vendor advisory.
Source (CNA)
security-advisories@github.com