THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-9v9v-9qvf-h2hj (high) — Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)

[GHSA] GHSA-9v9v-9qvf-h2hj (high) — Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)

medgithub_advisoriesPublished 2026-10-22

GHSA-9v9v-9qvf-h2hj Severity: high CVE: CVE-2026-96644

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

### Summary On Windows builds, Pillow stores EMF and WMF image dimensions without a range check and passes them to the native `drawwmf` handler. That code sizes its allocation from dimensions truncated into 16-bit header fields but copies the result

Indicators of compromise

Original source: https://github.com/advisories/GHSA-9v9v-9qvf-h2hj