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

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

The Hacker News • • technology

Key Points:

  • A critical use-after-free vulnerability (CVE-2026-125396) in Ghostscript's font-loading code allowed crafted files to escape its security sandbox and execute commands on servers processing them; the flaw was patched in Ghostscript version 10.08.0 on September 8.
  • The flaw was exploitable via common Linux server workflows where Ghostscript is invoked indirectly by image or document libraries (e.g., ImageMagick, Pillow), enabling attacks through routine features like thumbnail creation or cropping without direct calls to Ghostscript.
  • Security researchers demonstrated that about ten popular applications, including WordPress plugins and Debian print queues, could be tricked into processing malicious files that triggered command execution, often without requiring user login.
  • Although WordPress fixed its upload path vulnerability separately in version 7.0.4, both that fix and the Ghostscript patch are necessary as they address different parts of the attack chain; many Linux distributions still ship vulnerable Ghostscript versions or have pending fixes.
  • Mitigation until full updates are applied includes enforcing authentication on print queues, restricting accepted file types, and using system controls like AppArmor; major services like Google have already patched their affected Ghostscript paths.

Trending Business

Trending Technology

Trending Health