CVE-2026-96638
Reported by github_m · Published October 21, 2026
Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| superset-fips-6.1 | Chainguard | 6.1.0-r11 |
| py3-pytorch-cuda-13.0 | Chainguard | 2.14.1-r2 |
| pillow | python | 13.0.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | >= 9.1.0, < 13.0.0 |
| chainguard | superset-fips-6.1 | 0 |
| chainguard | py3-pytorch-cuda-13.0 | 0 |
| python-pillow | Pillow | 9.1.0 |
| chainguard | nemo-gym | 0 |
| PyPI | Pillow | 9.1.0 |
| chainguard | nemo-rl-cuda-13.0 | 0 |
Timeline
- Oct 21, 2026 CVE Published
- Oct 22, 2026 CVE Updated
- Oct 22, 2026 EPSS Score (3 in total, the first dated here)
- Oct 22, 2026 Coalition ESS Score
- Oct 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-96638
vulnetix vdb fixes CVE-2026-96638
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-96638/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-24rc-8hj2-v98c x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/10015 x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/e7794835e323ff2691d9b3a974cade1a44301b9a x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-96638 advisory
- https://github.com/advisories/GHSA-24rc-8hj2-v98c advisory