NewsCrawler.org

Upload2Shell (CVE-2026-125396): Ghostscript sandbox bypass via crafted documents

The page describes Upload2Shell (CVE-2026-125396), a use-after-free[1] flaw in the Type 1 font loader of Ghostscript. A crafted document can get past the -dSAFER[2] sandbox, change native path controls, and run commands chosen by the attacker as the rendering process. Ghostscript sits beneath print, email, upload, and preview features, so the same flaw reached several products.

The confirmed paths include an anonymous IPP[3] print job to a shared queue on Debian 13, which ran a command as uid lp, and an email attachment that ran a command as www-data through an ImageMagick delegate when its thumbnail was created. WordPress upload paths exposed the renderer to Author+ users, and this was fixed under CVE-2026-65640. Google fixed its document processing path before the public case study.

The flaw was reported upstream to Artifex as Bug 709684, and Artifex released a fix. Ghostscript 10.08.0 fixes Upload2Shell, Debian backported the change to its security package, and Ubuntu released fixed packages for seven supported releases on 21 October 2026. The evidence index was updated on 18 November 2026.

Product Ghostscript ghostscript.com

Ghostscript is an interpreter for the PostScript language and PDF files, used to render and convert documents.

Read the original pwn.aiDiscussion on GeekNews

Discussion

Hacker News commenters mostly say that Ghostscript has long had weak security, because it runs PostScript code with only a limited sandbox. Others criticize the hard-to-read timeline and the name, and one doubts some impact claims, arguing that document-rendering services should already be sandboxed beyond Ghostscript.

Sources

  • KRGeekNews KO

    Upload2Shell(CVE-2026-125396) - Ghostscript 샌드박스를 우회하는 문서 처리 취약점

    1 point1 comment

  • pwn.ai

    Upload2Shell (CVE-2026-125396)

    71 comments

Published: First seen: Читать по-русски

Open as a page