BIT-pillow-2026-96644

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2026-96644.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-pillow-2026-96644
Aliases
Published
2026-10-29T08:58:20Z
Modified
2026-10-29T10:55:35Z
Summary
Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
Details

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.

Database specific
{
    "cpes":  [
        "cpe:2.3:a:python:pillow:*:*:*:*:*:python:*:*"
    ],
    "severity":  "High"
}
References

Affected packages

Bitnami / pillow

Package

Name
pillow
Purl
pkg:bitnami/pillow

Severity

  • 7.1 (High) CVSS_V4 - 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
13.0.0

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2026-96644.json"