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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-21 · Modified: 2026-10-28
- Aliases: GHSA-9v9v-9qvf-h2hj, CGA-9qwm-wj82-hgmv, CGA-cc37-gch2-cqm8, CGA-3gq8-hf26-xcjp, CGA-7cjr-gchh-q86m, CGA-9h66-rr3g-rh64, CGA-ggvg-fmrm-m64r, CGA-hx82-rm7w-c65j, CGA-pmrh-36v7-8qwj, CGA-vxxx-4h99-52gx, CGA-wrwh-66mw-rm87, CGA-7x4c-f987-3p3v, CGA-2jpc-pj6h-8v4g, CGA-7c4q-fhcq-jj5m, CGA-9c2r-w3j7-25qp, CGA-p7mx-879v-7cjx, CGA-ppjq-2fx9-hqj8, CGA-q93x-7jj2-c722, CGA-qqxc-h8xq-75f9, CGA-w48h-xf3r-p3qc, UBUNTU-CVE-2026-96644, CGA-g34g-8xmv-6xpg, CGA-w4c4-vm44-rx58, CGA-428q-52hq-45v6, CGA-c37q-c9hh-2f2h, CGA-vr77-pqp4-374m, CGA-r2cc-m5gh-crvf, CGA-w4ww-g7qg-ppq3, CGA-wg69-92mr-p8cv, CGA-9399-9rh5-m2cw, CGA-r7f2-5q72-vp53, PYSEC-2026-4343, CGA-7r9g-q2v5-5v4v, BIT-pillow-2026-96644, CGA-fc5c-2pgx-28q2
- Record: https://cvemate.com/vulnerability/CVE-2026-96644 · JSON: https://cvemate.com/vulnerability/CVE-2026-96644/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- EPSS: 0.433%, percentile 39.391%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- chainguard mlflow (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r2
- chainguard mlflow-fips (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r3
- chainguard nemo-gym (Chainguard): \< 0.5.0\_rc0\_git20260729-r6
- chainguard nemo-rl-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-automodel (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-mcore (Chainguard): All versions (No fix recorded) \| \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-sglang (Chainguard): \< 0.7.0-r11
- chainguard nemo-rl-cuda-13.0-vllm (Chainguard): \< 0.7.0-r11
- chainguard nemo-skills (Chainguard): \< 0.7.0\_git20260911-r5
- chainguard open-webui (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pillow (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-12.6 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.2 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-vllm-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2
- chainguard py3.12-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2
- chainguard py3.13-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2
- chainguard py3.14-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded) \| \< 2.14.1-r2
- chainguard superset-fips-6.1 (Chainguard): All versions (No fix recorded) \| \< 6.1.0-r11

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj>
- <https://github.com/python-pillow/Pillow/pull/10120>
- <https://github.com/python-pillow/Pillow/commit/4cf46bee338304c5c8968fd7f132ba0d40c428b7>
- <https://github.com/python-pillow/Pillow/releases/tag/13.0.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-96644>
- <https://github.com/python-pillow/Pillow>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96644.json>
- <https://ubuntu.com/security/CVE-2026-96644>
- <https://www.cve.org/CVERecord?id=CVE-2026-96644>

---

Data as of 2026-12-05T03:16:53.066Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
