PT-2026-117654
CVE-2026-112396
·
Published
2026-10-19
·
Updated
2026-10-31
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Pillow versions 11.3.0 through 12.x
Description
A heap use-after-free occurs when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. This happens when an application saves attacker-influenced TIFF tags to BytesIO, causing libtiff to reject a tag during encoding in the
ImagingLibTiffEncode() function. The error path frees the output buffer without closing or clearing the TIFF handle, leading to a subsequent cleanup process that flushes data through the write callback into the freed memory. This can result in a process crash or potential arbitrary code execution.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 👾