thehackernews.com·22 november 2026

Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps

Image for the article: Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps
Image via thehackernews.com

A now-patched flaw in Ghostscript (CVE-2026-125396) allowed crafted files to escape its security sandbox and run commands on the server processing them. Security firm pwn.ai demonstrated that common applications could be tricked into feeding such files to Ghostscript. The flaw was fixed on September 8, with no reports of attacks. Ghostscript is widely used to convert PDFs, PostScript files, and images, often indirectly via libraries like ImageMagick or Pillow. The bug, a use-after-free in font loading, could be exploited through various applications, including WordPress plugins and email attachments.