CVE-2026-96644
8.1 HIGHpublic exploit availablePublished 2026-10-21 · Updated 2026-10-27
AI risk analysis
- Summary
- A heap-based buffer read in Pillow on Windows occurs when processing malformed WMF/EMF files due to mismatched dimension handling between Python and the native renderer, allowing memory disclosure or crashes.
- Exploitability
- Exploitation requires a user to open a specially crafted WMF/EMF file, as the vulnerability is triggered during image rendering with user interaction.
- Blast radius
- Successful exploitation could leak sensitive memory contents or cause denial of service in any application using Pillow on Windows, including those embedded in web browsers or document viewers.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade Pillow to version 13.0.0 or later, where the unchecked dimension handling has been corrected.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
Pillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler sizes a DIB allocation from 16-bit-truncated bcWidth and bcHeight fields but copies pixel data using the original full dimensions. A crafted wide, short metafile can pass the pixel-count decompression-bomb check and make the Windows-only renderer read beyond the heap buffer, potentially disclosing memory or crashing the process. This issue is fixed in version 13.0.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Weaknesses
CWE-125
Vendors
python, microsoft
Products
pillow, windows
Public exploit & PoC references
- https://github.com/python-pillow/Pillow/commit/4cf46bee338304c5c8968fd7f132ba0d40c428b7[Patch]
- https://github.com/python-pillow/Pillow/pull/10120[Issue Tracking]
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0[Release Notes]
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj[Vendor Advisory]
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-14496
- HIGHCVE-2026-61721PoC
- CRITICALCVE-2026-7826PoC
- HIGHCVE-2024-58400PoC
- HIGHCVE-2026-101927
- HIGHCVE-2026-102504PoC
- HIGHCVE-2026-10572
- HIGHCVE-2026-10574
Related by shared AI tags and CWE weakness class. Browse the full archive.