
Ghostscript Sandbox-Escape Flaw Enables RCE Through Crafted File Uploads in Common Applications
A now-patched use-after-free vulnerability in Ghostscript allowed crafted PostScript or EPS files to disable the -dSAFER sandbox and execute arbitrary commands on servers processing uploads. The flaw, tracked as CVE-2026-125396, affected the font-loading component and was fixed by Artifex in version 10.08.0 on September 8. Security researchers at pwn.ai demonstrated exploitation through indirect paths involving libraries such as ImageMagick, Pillow, libvips, and Qt plugins, reaching Ghostscript from applications including Roundcube, WordPress plugins, and Debian print queues. The issue could be triggered without direct calls to Ghostscript, as common image and document processors automatically handed malicious content to the interpreter. WordPress had already mitigated its upload vector separately via CVE-2026-65640 in version 7.0.4. Coverage of the fix across Linux distributions remains uneven, with several major vendors still shipping vulnerable packages or pending updates at the time of disclosure.
The Hacker NewsNov 22, 2026Translated from English