Vulnerability
CVE-2026-96641
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.
44 advisories report this vulnerability, across 8 ecosystems.
Advisories
- CGA-2853-qhmc-fvx9
- CGA-3gg4-v5jh-87cp
- CGA-3xxq-xh5h-jhxr
- CGA-48hm-g58x-f8xf
- CGA-4h2x-8hrw-6543
- CGA-4rpg-wq5r-7frj
- CGA-55c5-pghj-9jp2
- CGA-5hrv-8rgj-g7mc
- CGA-5q43-23mh-v3f4
- CGA-6whf-6cm6-96j4
- CGA-7v5g-xcrv-5f33
- CGA-972f-cvxw-x8h6
- CGA-9859-wrcw-mxv6
- CGA-9r4m-rmp9-pr7c
- CGA-c5f4-5654-v7hv
- CGA-cqfw-mgjv-p3pq
- CGA-f3x6-vpr8-gq76
- CGA-h4qc-wgx7-wrxw
- CGA-jhw2-q9xr-r3f2
- CGA-mfc2-9rvr-gqqq
- CGA-mq3f-27qf-gvjv
- CGA-mxx8-pjrg-pv88
- CGA-pc63-6r3p-47g6
- CGA-pr7h-5c4p-c24m
- CGA-qcm6-9cg5-3wqv
- CGA-rhw9-rv79-xx8c
- CGA-vmc5-p4jf-fw8v
- CGA-vqv3-7q7x-wcvr
- CGA-w5qm-36x8-h86g
- CGA-xf9g-f8vg-mp4g
- CGA-xfv5-2gfv-pvj4
- CGA-xxcv-7gxv-cw89
-
DEBIAN-CVE-2026-96641
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…
-
GHSA-4rm8-3hmm-39fg
Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise
-
PYSEC-2026-4340
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…
-
RHVEX-CVE-2026-96641
pillow: pillow: Denial of Service via integer overflow in text-width calculation
-
SUSE-SU-2026:24656-1
Security update for python-Pillow
-
SUSE-SU-2026:24701-1
Security update for python-Pillow
-
SUSE-SU-2026:5038-1
Security update for python-Pillow
-
SUSE-SU-2026:5194-1
Security update for python-Pillow
-
UBUNTU-CVE-2026-96641
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…
-
USN-9064-1
pillow vulnerabilities
-
openSUSE-SU-2026:22246-1
Security update for python-Pillow
-
openSUSE-SU-2026:22301-1
Security update for python-Pillow