CVE-2026-96644Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
A high-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.5%
- percentile 35%
- Fix
- Named by a source
- CVE published 21 Oct 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.5% (+0) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- pillow (PyPI): upgrade to 13.0.0 or later on your release line.
- Patch: https://github.com/python-pillow/Pillow/commit/4cf46bee338304c5c8968fd7f132ba0d40c428b7
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/10120
- Advisory: https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- Advisory: https://github.com/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-96644
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 13.0.0Fixed in13.0.0OSV (PYSEC-2026-4343)
python pillow product:python/pillow
- Affected< 13.0.0Affected range ends before13.0.0as published by CPE data (via the NVD API)only when running on/with: microsoft windows
python-pillow Pillow product:pythonpillow/pillow
- Affected< 13.0.0Affected range ends before13.0.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 8.1 HIGH (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-125
- Exploitation (CISA SSVC)
- poc
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 21 Oct 2026Published
References
- patchhttps://github.com/python-pillow/Pillow/commit/4cf46bee338304c5c8968fd7f132ba0d40c428b7
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/10120
- advisoryhttps://github.com/python-pillow/Pillow/releases/tag/13.0.0
- advisoryhttps://github.com/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-96644
- otherhttps://github.com/python-pillow/Pillow
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-96644 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-9v9v-9qvf-h2hj (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-4343 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 44 min ago · osv 44 min ago · nvd 44 min ago · epss 44 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2026-96644, GHSA-9v9v-9qvf-h2hj, PYSEC-2026-4343