Red Hat VEX
RHVEX-CVE-2026-112891
pillow: pillow: Denial of Service via large GIF comments
Details
A flaw was found in Pillow. A remote attacker can cause a Denial of Service (DoS) by providing a specially crafted image with an excessively large comment to an application that saves it as a GIF. Due to inefficient data copying while assembling image headers, processing such comments consumes excessive CPU resources and can render the application unresponsive.
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-112891
- https://bugzilla.redhat.com/show_bug.cgi?id=2556193
- https://www.cve.org/CVERecord?id=CVE-2026-112891
- https://nvd.nist.gov/vuln/detail/CVE-2026-112891
- https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-fc9g-5qg7-mf45