CRITICALVulnerability
Global

Critical Flaw in Python’s Popular Pillow Image Library Allows Code Execution via a Crafted Image

·Source: The Hacker News

Updated:

Executive Summary

Pillow, the most widely used image library for Python, can be made to run operating system commands on a server by specifying the name of a file it is told to open. The flaw, CVE-2026-112900, is in the way Pillow handles EPS images, which it opens by passing the file's name to Ghostscript, a separate program it runs to turn the image into pixels, without checking the name first.

Analysis

Pillow, the most widely used image library for Python, can be made to run operating system commands on a server by specifying the name of a file it is told to open. The flaw, CVE-2026-112900, is in the way Pillow handles EPS images, which it opens by passing the file's name to Ghostscript, a separate program it runs to turn the image into pixels, without checking the name first.

Indicators of Compromise (1)

CVE (1)
CVE-2026-112900
Source Attribution

Originally published by The Hacker News on Oct 23, 2026.

Related Threats