ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-112398

pillow: Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution

Important No fix available CVE-2026-112398

Details

A flaw was found in Pillow. A remote attacker can achieve arbitrary code execution by supplying a specially crafted FlashPix (FPX) image file to an application that processes untrusted inputs. Due to improper handling of image tile data during JPEG decoding, the library writes pixel data beyond the allocated memory buffer. This out-of-bounds write corrupts heap memory and can allow an attacker to execute arbitrary commands or cause an application crash.

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