ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-96641

pillow: pillow: Denial of Service via integer overflow in text-width calculation

Moderate No fix available CVE-2026-96641

Details

A flaw was found in Pillow. When processing text dimensions with certain fonts, negative character spacing values are not properly validated during text-width calculation, causing an integer overflow. A remote attacker could exploit this vulnerability by providing crafted text or font data to an application that calculates text layout or dimensions. Successful exploitation could lead to excessive resource allocation, resulting in a Denial of Service (DoS) or application logic errors.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8python-pillow
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8python3-pillow
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8python3-pillow-devel
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8python3-pillow-doc
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8python3-pillow-tk
All versions, no fix (fix deferred)

References