PT-2026-117647
CVE-2026-112393
·
Published
2026-10-16
·
Updated
2026-11-12
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Pillow versions 2.0.0 through 12.9.9
Description
A heap buffer overflow and stale-heap disclosure exist in the
tiffWriteProc function when saving compressed TIFF data through libtiff to a target lacking a usable fileno(), such as BytesIO. The callback determines allocation size based on the prior buffer size rather than the current write position. This allows an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward, which can lead to process crashes or remote code execution. Additionally, unwritten alignment gaps in compressed TIFF output exceeding 64 KiB can disclose stale heap bytes. File paths and targets with real file descriptors are not affected.Recommendations
Update to version 13.0.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾