CVE-2026-96638
Last modified
CVE-2026-96638 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | >= 9.1.0, < 13.0.0 |
References
- https://github.com/python-pillow/Pillow/pull/10015Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-96638?
How severe is CVE-2026-96638?
How do I fix CVE-2026-96638?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-96620Claude Agent SDK is a Python SDK for Claude Code. Prior to 0…9.2
- CVE-2026-96626Arcane is an interface for managing Docker containers, image…8.5
- CVE-2026-96627Arcane is an interface for managing Docker containers, image…8.8
- CVE-2026-96628Arcane is an interface for managing Docker containers, image…4.3
- CVE-2026-96636Pillow is a Python imaging library. Prior to 13.0.0, MpoImag…6.5
- CVE-2026-96637Pillow is a Python imaging library. Prior to 13.0.0, SpiderI…6.5
- CVE-2026-96639Pillow is a Python imaging library. From 11.0.0 until 13.0.0…9.8
- CVE-2026-96640Pillow is a Python imaging library. From 5.1.0 until 13.0.0,…7.5
- CVE-2026-96641Pillow is a Python imaging library. Prior to 13.0.0, PILfont…6.5
- CVE-2026-96642Pillow is a Python imaging library. Prior to 13.0.0, the Tar…6.5
- CVE-2026-96643Pillow is a Python imaging library. From 11.0.0 until 13.0.0…6.5
- CVE-2026-96644Pillow is a Python imaging library. Prior to 13.0.0 on Windo…8.1
Are you affected by CVE-2026-96638?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
