Vulnerability
CVE-2026-96644
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.
36 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-2jpc-pj6h-8v4g
- CGA-3gq8-hf26-xcjp
- CGA-428q-52hq-45v6
- CGA-59qp-4m2q-qr8m
- CGA-7c4q-fhcq-jj5m
- CGA-7cjr-gchh-q86m
- CGA-7r9g-q2v5-5v4v
- CGA-7x4c-f987-3p3v
- CGA-9399-9rh5-m2cw
- CGA-9c2r-w3j7-25qp
- CGA-9h66-rr3g-rh64
- CGA-9qwm-wj82-hgmv
- CGA-c37q-c9hh-2f2h
- CGA-cc37-gch2-cqm8
- CGA-fc5c-2pgx-28q2
- CGA-g34g-8xmv-6xpg
- CGA-ggvg-fmrm-m64r
- CGA-hx82-rm7w-c65j
- CGA-p7mx-879v-7cjx
- CGA-pmrh-36v7-8qwj
- CGA-ppjq-2fx9-hqj8
- CGA-q93x-7jj2-c722
- CGA-qqxc-h8xq-75f9
- CGA-r2cc-m5gh-crvf
- CGA-r7f2-5q72-vp53
- CGA-vr77-pqp4-374m
- CGA-vxxx-4h99-52gx
- CGA-w48h-xf3r-p3qc
- CGA-w4c4-vm44-rx58
- CGA-w4ww-g7qg-ppq3
- CGA-wg69-92mr-p8cv
- CGA-wrwh-66mw-rm87
-
GHSA-9v9v-9qvf-h2hj
Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
-
PYSEC-2026-4343
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…
-
RHSA-2026:100715
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
-
UBUNTU-CVE-2026-96644
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…