Back to CVE records
High 7.1Published Oct 21, 2026

CVE-2026-96644Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)

Updated under an hour ago ()

Does this affect you?

It affects python-pillow Pillow. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.33%, higher than 25% of scored CVEs.

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
7.1 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-125
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.33% (percentile 25)
Assigned by
GitHub_M
NVD analysis
Awaiting Analysis
Record last updated
Oct 21, 2026
First seen by InfoSec Signals
Oct 21, 2026

Affected products

Affected products
python-pillow Pillow
python_pillow:pillow (from the name)
before 13.0.0
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.