CVE-2026-96644
High 8.1 P4 · Monitor (12/100)Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
Confirmed facts from the sources
- CVSS
- 8.1 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Scored by nvd@nist.gov - Exploitation confirmed
- Not in the CISA KEV catalog
- Exploitation estimated (EPSS)
- 0.49 % · percentile 35.2 % (as of 30.11.2026)
Probability of exploitation in the next 30 days – an estimate by FIRST, not confirmation. - Public exploit
- No reference to a public exploit.
- Fix
- Fix available
- Monitored technologies
- No monitored technology
Description (source)
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.
Affected products and versions
| Vendor / product | Affected versions | Fixed in | Source |
|---|---|---|---|
| python-pillow Pillow | = < 13.0.0 | — | nvd |
| python pillow | < 13.0.0 | — | nvd |
| pip: Pillow | < 13.0.0 | 13.0.0 | github |
Versions as published. “Fixed in” only where a source names the version explicitly.
Recommended mitigation
Fixed versions: Pillow 13.0.0
- github.com (Patch)
In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.
AI interpretation
No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.
Why this priority?: P4 · Monitor (12/100)
- Estimated exploitation probability 0.49 % (EPSS, percentile 35.2 %) – an estimate, not confirmation (+0)
- Technical severity: CVSS 8.1 (HIGH) – on its own not a reason for top priority (+12)
- Fix available – plan the update (+0)
Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.
Original advisories and links
- Advisory https://github.com/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj · security-advisories@github.com
- Advisory https://nvd.nist.gov/vuln/detail/CVE-2026-96644 · nvd
- Advisory https://github.com/advisories/GHSA-9v9v-9qvf-h2hj · github
- Patch https://github.com/python-pillow/Pillow/commit/4cf46bee338304c5c8968fd7f132ba0d40c428b7 · security-advisories@github.com
- Reference https://github.com/python-pillow/Pillow/pull/10120 · security-advisories@github.com
- Reference https://github.com/python-pillow/Pillow/releases/tag/13.0.0 · security-advisories@github.com