CVE-2026-96641
Last modified
CVE-2026-96641 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Pillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against INT_MIN. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
Description
Pillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against INT_MIN. Repeating a signed 16-bit advance of -32768 can therefore execute a signed C integer overflow in xsize += dx, producing a large positive width from a negative mathematical result. Applications that use getlength(), getsize(), or derived layout, quota, serialization, or allocation calculations can experience logic-integrity errors or resource consumption, while the high-level mask path commonly retains a decompression-bomb check. This issue is fixed in version 13.0.0.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 13.0.0 |
References
- https://github.com/python-pillow/Pillow/pull/10010Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-96641?
How severe is CVE-2026-96641?
How do I fix CVE-2026-96641?
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-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-96638Pillow is a Python imaging library. From 9.1.0 until 13.0.0,…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-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
- CVE-2026-96647The Listdom: AI-powered Business Directory with Classifieds …6.4
- CVE-2026-96648The Data Tables Generator by Supsystic plugin for WordPress …6.4
- CVE-2026-96649The Frontend Post Submission Manager Lite – Frontend Posting…7.2
Are you affected by CVE-2026-96641?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
