Researchers demonstrate Ghostscript sandbox-escape RCE via crafted file uploads in popular apps
pwn.ai showed that CVE-2026-125396, fixed on September 8, lets a crafted file escape Ghostscript's -dSAFER sandbox and run commands on the server. Ghostscript is often called indirectly by ImageMagick, Pillow, libvips or Qt plugins, even for files named .png or .pdf. No attacks in the wild have been reported.
- A use-after-free in font loading switches off the -dSAFER checks
- Demonstrated in about ten common applications
- Triggered by ordinary upload, thumbnail or print features
- The patch shipped on September 8
created 23 November at 13:33