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

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

The Hacker News · Oct 23, 2026

Back to News
Critical Flaw in Python’s Popular Pillow Image Library Allows Code Execution via a Crafted Image
Security October 23, 2026

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.

Read original on The Hacker News

Want to stay informed about new business solutions?

Follow us

Ready to build a better digital experience?

We create modern multilingual websites, integrate external services and automate content workflows for growing businesses.