Critical Ghostscript Vulnerability Enables Remote Code Execution
A critical Ghostscript vulnerability allows remote code execution via disguised file uploads, impacting numerous web services and prompting widespread…

A critical security vulnerability, identified as CVE-2026-125396 and dubbed "Upload2Shell," allows attackers to execute arbitrary code on servers by disguising malicious PostScript files as standard image or PDF documents. The flaw affects Ghostscript versions prior to 10.08.0, which was released on September 8, 2026. The vulnerability exploits a recurring weakness in Ghostscript’s font-handling routines, enabling attackers to bypass the -dSAFER sandbox protection mechanism.
Researchers discovered the flaw using artificial intelligence, confirming successful exploitation across 10 distinct products, including Debian 13 and Roundcube webmail. The vulnerability is particularly dangerous for web services that automatically process file uploads for thumbnail generation, metadata extraction, or document conversion. Because many image processing libraries identify files by content rather than extension, they inadvertently pass disguised malicious files to the vulnerable Ghostscript interpreter.
While no evidence of exploitation in the wild
While no evidence of exploitation in the wild
While no evidence of exploitation in the wild has been reported, the public release of a proof-of-concept increases the risk of opportunistic attacks. Organizations are advised to verify their Ghostscript versions, noting that some Linux distributions may backport security fixes while retaining older version strings. The vulnerability has prompted significant payouts, with researchers receiving total bug bounties in the low six-figure range from multiple organizations, including Dropbox.
Security teams should prioritize auditing applications that utilize ImageMagick, Pillow, or similar libraries in conjunction with Ghostscript. The maintainers of Ghostscript have indicated an ongoing effort to remove the specific privileged internal operations that facilitate this class of sandbox escape. Until these architectural changes are implemented, the risk of similar vulnerabilities remains high for any system handling untrusted file uploads.
More stories
- Europe faces attribution gap after 16 cyber, physical incidents
- PIF backs Grand Theft Auto as Saudi players embrace game
- Signal limits screenshots to curb AI access to messages
- Cognition runs Devin Mac workspaces on EC2 in 6 AWS regions
- Salesforce engineers cut 600-failure triage to 90 minutes
- Türkiye Desk: GTA 6 puts console access and network demand in focus
- Kalshi faces state gambling laws after two appeals losses
- MaxxBench exposes 23-point coding-agent gap in revised tests
Latest news
- Trump prepares tariffs on China and other major exporters
- New-car buyers pay record average $50,087 in October
- Banks face ECB reserve debate over liquidity and profits
- Investors see Anthropic debut gains fade below $83 a share
- Iraq orders federal control over Kurdish-area oilfields
- Germans oppose Ukraine aid as poll shows support slipping
- Kim Jong-un receives 10 envoys after constitutional shift
- Ukraine claims Libya strike sinks Russian naval corvette

