ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-112393

pillow: Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO

Important No fix available CVE-2026-112393

Details

A flaw was found in Pillow. When saving compressed Tagged Image File Format (TIFF) images into memory buffers rather than direct files, the library incorrectly calculates the required memory allocation. A remote attacker who supplies a crafted image for processing can trigger a heap-based buffer overflow, potentially leading to arbitrary code execution or a Denial of Service (DoS) through process crashes. Additionally, uninitialized memory gaps can result in information disclosure by leaking remnants of previously stored data.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7python-pillow
All versions, no fix yet
Red Hat:enterprise_linux:7python-pillow-devel
All versions, no fix yet
Red Hat:enterprise_linux:7python-pillow-doc
All versions, no fix yet
Red Hat:enterprise_linux:7python-pillow-qt
All versions, no fix yet
Red Hat:enterprise_linux:7python-pillow-sane
All versions, no fix yet
Red Hat:enterprise_linux:7python-pillow-tk
All versions, no fix yet

References