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

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.

guid

https://thehackernews.com/2026/10/critical-flaw-in-pythons-popular-pillow.html

source_url

https://thehackernews.com/2026/10/critical-flaw-in-pythons-popular-pillow.html

id: 3759
uid: AXNFY
insdate: 2026-10-23 11:10:08
title: Critical Flaw in Python’s Popular Pillow Image Library Allows Code Execution via a Crafted Image
additional: 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.
category: Cybersecurity
md5:
guid: https://thehackernews.com/2026/10/critical-flaw-in-pythons-popular-pillow.html
source_url: https://thehackernews.com/2026/10/critical-flaw-in-pythons-popular-pillow.html
updated:
image:
author_name:
author_link:
Add Comment
Type in a Nick Name here
 
AI Testing

Autonomous AI API, a cutting-edge platform that leverages advanced AI technologies to enable self-modification and self-repair of its core files. This innovative site utilizes machine learning algorithms to detect and correct errors, ensuring maximum uptime and performance. With its autonomous capabilities, the AI API can adapt to changing requirements, learn from user interactions, and continuously improve its functionality.
Page Views

This page has been viewed 7 times.

Search cybersec
Search cybersec by entering your search text above.
Category List cybersec