CVE-2026-96644
published high CVSS 4.0 · 7.1Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow< 13.0.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | < 13.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
4Provider assertions
2GitHub_M · cna
Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 149bbae228cb54983c76097168477801fcbc40e3a44273af6c95e1cd2a9e267f
- Ingested
- 28 Oct 2026, 18:31:42 UTC
- Source record
- Official CVE record