Feed
6.2MEDIUM

CVE-2026-112897Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips

A medium-severity vulnerability reachable with local access, needing no privileges and no user interaction. EPSS estimates a 0.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.4%
percentile 30%
Priority
29/100 medium
how it is computed
Fix
Named by a source
CVE published 19 Oct 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.4% (+0) · Public exploit or proof of concept (+15) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected>= 5.3.0, < 13.0.0Fixed in13.0.0OSV (GHSA-q45j-58j2-45rg)
  • python pillow product:python/pillow

    • Affected>= 5.3.0, < 13.0.0Affected range ends before13.0.0as published by CPE data (via the NVD API)
  • python-pillow Pillow product:pythonpillow/pillow

    • Affected>= 5.3.0, < 13.0.0Affected range ends before13.0.0as published by CNA (CVE List)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
6.2 MEDIUM (version 3.1)
Score from
NVD
Attack vector
local
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-908
Exploitation (CISA SSVC)
poc
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 19 Oct 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 26 min ago · osv 26 min ago · nvd 87 min ago · epss 26 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2026-112897, GHSA-q45j-58j2-45rg