CVE-2026-112393: Vulnerability in Python Pillow

Critical. 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...

PyPI, CWE-122

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-332p-7hrc-92wf
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-122
Published
19 Oct 2026
Last change
26 Oct 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Python Pillow From 2.0.0 before 13.0.0. Fixed in 13.0.0

Affected packages

Vulnerable version ranges and fixed releases

  • Pillow PyPI, Affected from 2.0.0 before 13.0.0. Fixed in 13.0.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related