Red Hat VEX
RHVEX-CVE-2026-112403
pillow: Pillow: Heap buffer overflow in ImagingJpegDecode
This advisory was withdrawn on 19 November 2026.
Details
A flaw was found in Pillow. A remote attacker could exploit this vulnerability to achieve arbitrary code execution or cause a Denial of Service (DoS) by supplying a specially crafted lossless JPEG image to an application that downscales images or generates thumbnails. This issue occurs because the JPEG decoder fails to verify actual output dimensions against the allocated memory buffer during scaling, causing full-width image data to be written beyond buffer boundaries. Successful exploitation leads to heap memory corruption, resulting in an application crash or potential code execution.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | python-pillow | All versions, no fix yet |
| Red Hat:enterprise_linux:7 | python-pillow-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:7 | python-pillow-doc | All versions, no fix yet |
| Red Hat:enterprise_linux:7 | python-pillow-qt | All versions, no fix yet |
| Red Hat:enterprise_linux:7 | python-pillow-sane | All versions, no fix yet |
| Red Hat:enterprise_linux:7 | python-pillow-tk | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-112403
- https://bugzilla.redhat.com/show_bug.cgi?id=2555871
- https://www.cve.org/CVERecord?id=CVE-2026-112403
- https://nvd.nist.gov/vuln/detail/CVE-2026-112403
- https://github.com/python-pillow/Pillow/commit/242a059aedc1935097d9aa1dc3f099750467ba75
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-8g5g-8vmr-9782