Researchers at pwn.ai have detailed Upload2Shell (CVE-2026-125396), a use-after-free in Ghostscript's Type 1 font loader that breaks the interpreter's -dSAFER sandbox: a crafted Type 1 font triggers a type error in the .putgstringcopy helper, letting an error handler reach the privileged .forceput operator and, combined with a save/restore lifetime bug, build a write-what-where primitive that disables sandbox state and runs commands as the rendering process. Because applications hand uploads to image libraries that silently route PostScript to Ghostscript, confirmed command execution paths include Debian 13's CUPS print stack via anonymous print jobs, Roundcube webmail (attachment execution when the recipient merely viewed the email), Plesk Obsidian, unauthenticated WordPress plugin routes and MediaWiki/DokuWiki previews; at Google, a signed-out request reached Ghostscript in the document renderer, mitigated 10 November. CVSS 4.0 scores the flaw 8.5 High, though the unauthenticated upload routes make it more serious in practice. The fix shipped in Ghostscript 10.08.0 on 8 September, but no exploitation in the wild has been reported and no PoC is public.
| Attribute | Detail |
|---|---|
| Sector | IT / Technology |
| Date | 2026-11-24 |
| Source | pwn.ai |
| Reliability | Tier 1 |
| CVEs | CVE-2026-125396 |