cyberpress.orgยท23 november 2026
Upload2Shell Ghostscript Flaw Lets Hackers Execute Commands Through Malicious File Uploads

CVE-2026-125396
CVSS 4.0
Debian
Ghostscript
Ghostscript 10.08.0
lp
network print jobs
Paulos Yibelo
Roundcube
September 8, 2026
Ubuntu
Upload2Shell
use-after-free
WordPress
www-data
cyberpress.org
A use-after-free flaw in Ghostscript's Type 1 font loader, tracked as CVE-2026-125396 and named Upload2Shell, allows crafted documents to bypass the -dSAFER sandbox and execute OS commands with renderer privileges. The flaw, scored 8.5 on CVSS 4.0, was demonstrated remotely through WordPress uploads, Roundcube attachment previews, and network print jobs. Ghostscript 10.08.0 was patched on September 8, 2026, with distribution backports available. Until patched renderers are deployed, organizations should disable unnecessary PostScript and PDF processing for untrusted input and validate file content before thumbnail generation.