ISD Insights · Security

Ghostscript “Upload2Shell” flaw lets crafted uploads run code; fixed in 10.08.0

By ISD Insights Team
← Back to Security

A flaw in Ghostscript’s font handling, CVE-2026-125396 or “Upload2Shell”, lets a crafted PostScript or PDF document bypass the -dSAFER sandbox and run code.

ISD view: why it matters

Patch Ghostscript to 10.08.0 or a distribution package with the fix backported in any upload, preview or document-conversion pipeline, including copies bundled inside containers and applications.

What happened

All versions before 10.08.0 are affected.

Researcher Paulos Yibelo of pwn.ai published details on 21 Nov, showing that ordinary upload, preview and thumbnail features in web applications can pass such files to Ghostscript, and he says an AI model working with him found the bug.

Artifex released the fix in Ghostscript 10.08.0 on 8 Sep 2026, but as of 12 Nov some Linux distribution branches still listed the flaw as unfixed.

Why it matters: Patch Ghostscript to 10.08.0 or a distribution package with the fix backported in any upload, preview or document-conversion pipeline, including copies bundled inside containers and applications.

Sources: Paulos Yibelo, pwn.ai, “How We Hacked the Pipes — Upload2Shell” (21 Nov 2026); NIST NVD, “CVE-2026-125396” (published 10 Nov 2026, last modified 22 Nov 2026); Alan Coopersmith, oss-security mailing list, “Ghostscript 10.08.0 fixes multiple CVEs, including ‘upload2shell’” (21 Nov 2026)

Contact

Questions about what this means for you?

Talk to us about where AI fits in your business.