ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-112396

pillow: pillow: arbitrary code execution via heap use-after-free during TIFF encoding

Moderate No fix available CVE-2026-112396

Details

A flaw was found in Pillow. This vulnerability allows a remote attacker to potentially execute arbitrary code or cause a Denial of Service (DoS). The issue occurs when an application encodes Tagged Image File Format (TIFF) data with untrusted tags into an in-memory buffer. When an invalid tag is rejected during encoding, improper error handling prematurely frees memory that is subsequently accessed during cleanup, triggering a heap use-after-free condition.

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