Red Hat VEX
RHVEX-CVE-2026-96642
pillow: Pillow: Denial of Service via negative archive member size in TarIO
Details
A flaw was found in Pillow. When an application processes tar archives using the TarIO component, an archive containing an invalid negative member size causes the parser to enter an infinite loop by repeatedly reading the same header. An attacker could exploit this by providing a specially crafted archive, leading to high CPU consumption and a Denial of Service (DoS).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | python-pillow | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-pillow | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-pillow-devel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-pillow-doc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-pillow-tk | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-96642
- https://bugzilla.redhat.com/show_bug.cgi?id=2558571
- https://www.cve.org/CVERecord?id=CVE-2026-96642
- https://nvd.nist.gov/vuln/detail/CVE-2026-96642
- https://github.com/python-pillow/Pillow/commit/19b695fdcc5eddc37374e2b1645fc4185edaf71d
- https://github.com/python-pillow/Pillow/pull/10012
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-3j72-p6qg-6xp7