Most devs in 2026 have never even heard of Ghostscript. You might think PostScript died with 90s laser printers, but underneath ImageMagick, CUPS, and webmail previewers, this 38-year-old C codebase is still silently rendering untrusted uploads on millions of servers.
The kicker? PostScript isnβt a passive document format- itβs a Turing-complete programming language.
Despite decades of -dSAFER sandbox band-aids, memory bugs in ancient font parsers keep turning an ordinary image upload or email preview into effortless zero-click RCE.
You can spend millions building zero-trust cloud-native microservices, only to get popped because an uploaded "avatar" woke up a 1988 printer engine with www-data permissions. π
Audit your containers and make sure you're on Ghostscript 10.08.0+.
@DarkWebInformerπ¨ A critical Ghostscript vulnerability allows attackers to execute commands on vulnerable servers through malicious file uploads, email attachments, and even network print jobs; CVE-2026-125396.
Security researchers at http://pwn.ai demonstrated that simply viewing a crafted email in Roundcube could trigger remote code execution without clicking the attachment. Similar attacks were successfully tested against Debian 13 print servers, WordPress, Forminator, Elementor, and other applications under specific configurations.
The vulnerability, dubbed Upload2Shell, carries a CVSS 4.0 score of 8.5 and affects Ghostscript's Type 1 font loader. Attackers can disguise malicious PostScript files as ordinary images or documents, exploit a memory corruption flaw, bypass Ghostscript's -dSAFER sandbox, and execute commands with the permissions of the affected service.
Researchers also identified vulnerable processing paths involving MediaWiki, DokuWiki, Plesk, and several document management systems. The attacks exploit how applications pass untrusted files to Ghostscript through image conversion and preview functions.
Artifex patched the underlying vulnerability in Ghostscript 10.08.0, released September 8, with additional fixes issued by affected software vendors and Linux distributions. Administrators are urged to install patched versions and verify that applications and containers are not using vulnerable Ghostscript builds.
Sources:
https://darkwebinformer.com/ghostscript-upload2shell-flaw-enables-remote-code-execution/
https://pwn.ai/upload2shell/research.html
https://security-tracker.debian.org/tracker/CVE-2026-125396