Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps
Researchers at pwn.ai have shown that a use-after-free flaw in Ghostscript (CVE-2026-125396, CVSS 8.5) lets a crafted document escape the -dSAFER sandbox and run commands on the server processing it, reaching the interpreter through ordinary upload, preview and print features in about ten common applications via libraries such as ImageMagick and Pillow. Artifex fixed the flaw in Ghostscript 10.08.0 in September, but bundled copies inside containers and applications, and several Linux distributions, remain unpatched, and there are no reports of exploitation in the wild.