CVE-2026-96641CWE-190

CVE-2026-96641

Medium · published October 22, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
19.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00280 · 19.4th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2026-10-22T01:20Z
References (4)
EPSS history
Timeline
  • 23 OCT 04:10Z
    EPSS moved — → 0%
    epss
  • 21 OCT 20:51Z
    Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise
    cvelistv5
  • 21 OCT 20:51Z
    Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise
    cvelistv5