Feed
9.8CRITICAL

CVE-2026-112393Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.0% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.0%
percentile 63%
Priority
41/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 1.0% (+1) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected>= 2.0.0, < 13.0.0Fixed in13.0.0OSV (GHSA-332p-7hrc-92wf)
  • python pillow product:python/pillow

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

    • Affected>= 2.0.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
9.8 CRITICAL (version 3.1)
Score from
NVD
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-122
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 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. 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 17 min ago · osv 17 min ago · nvd 46 min ago · epss 77 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2026-112393, GHSA-332p-7hrc-92wf