CVE-2026-96644
pillow: Pillow: Denial of Service via out-of-bounds read in metafile parser
Overview
Description
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Weakness: CWE-125
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | pillow | <13.0.0 | 13.0.0 |
| PyPI | pillow | <13.0.0 | 13.0.0 |
| Seal PyPI | pillow | >=10.0.1+sp0, <10.0.1+sp999>=7.2.0+sp0, <7.2.0+sp999>=9.3.0+sp0, <9.3.0+sp999>=9.5.0+sp0, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
| Seal PyPI | seal-pillow | >=10.0.1+sp1, <10.0.1+sp999>=7.2.0+sp1, <7.2.0+sp999>=9.3.0+sp1, <9.3.0+sp999>=9.5.0+sp1, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
chainguard 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | not affected | |
| nemo-gym | 0.5.0_rc0_git20260729-r6 | |
| nemo-rl-cuda-13-0 | 0.7.0-r11 | |
| nemo-skills | 0.7.0_git20260911-r5 | |
| py3-pytorch-cuda-13-0 | 2.14.1-r2 | |
| mlflow | 3.17.2-r2 |
2 more rows
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| open-webui | not affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-96644
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/4cf46bee338304c5c8968fd7f132ba0d40c428b7
- github.com https://github.com/python-pillow/Pillow/pull/10120
- github.com https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-9v9v-9qvf-h2hj
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-96644
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-96644
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.