PT-2026-120822
CVE-2026-96644
·
Published
2026-10-21
·
Updated
2026-10-31
Description by
CVSS 3.1
8.1
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Pillow versions prior to 13.0.0
Description
On Windows, the
src/PIL/WmfImagePlugin.py component passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf() handler in src/display.c. The handler determines the size of a Device Independent Bitmap (DIB) allocation using 16-bit-truncated bcWidth and bcHeight fields, but subsequently copies pixel data using the original full dimensions. A specially crafted wide and short metafile can bypass the pixel-count decompression-bomb check, causing the renderer to read beyond the heap buffer, which may lead to memory disclosure or a process crash.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 👾