Ghostscript sandbox escape lets a crafted font file run commands on Debian, Google, and Roundcube

Upload2Shell · CVE-2026-125396

A use-after-free in Ghostscript's Type 1 font loader, tracked as CVE-2026-125396 and nicknamed Upload2Shell, lets a crafted document break out of the -dSAFER sandbox and run attacker-chosen commands as the rendering process. The researchers confirmed unauthenticated remote code execution in Debian 13 CUPS, Roundcube, Plesk, WordPress Core, MediaWiki, DokuWiki, Forminator, and Elementor, and reached Ghostscript inside Google's document renderer. Ghostscript 10.08.0 fixes the flaw, with backports in Debian and Ubuntu.

We have found one zeroday that preauth RCE'd Debian 13, Google, Roundcube, Plesk, Wikimedia, Box, Dropbox, Zoom, Forminator, Elementor, WordPress Core, among many more.
  1. int0x29

    That timeline is unreadable. Just say what was found impacted when with versions along with patch dates and versions. I don't need to know about case studies that will hypothetically be written. I don't need little blurbs under everything. "What we said" should instead be "publicly disclosed."

    Honestly the whole thing should be a table so you can group the different bits of the timeline for different software/services by software/service rather than time.

  2. hannob

    It's been known for a while, and certainly long before the recent AI vuln flood, that ghostscript is really problematic in terms of security.

    Ultimately, postscript is its own programming language, and executing a programming language in a secure, sandboxed way is not trivial. ghostscript has only a very poor pseudo sandbox that fails regularly. Unfortunately, ghostscript is the only implementation of postscript that's out there.

    All of that would matter much less if people only used it to parse postscript. But it's used indirectly by imagemagick (you can disable it), which means many people using imagemagick to parse images from untrusted sources get exposed to ghostscript's poor security.

  3. dabinat

    This seems like important information but this page is completely unreadable.

  4. megous

    ghostscript, imagemagick, ffmpeg, etc. etc. all these passthrough data in data out programs that don't need much of anything from the system, I'd think people would run them with untrusted input in a tight whitelist based seccomp+landlock sandbox. it's a bit annoying if they are not statically compiled, due to ld.so loading libraries, but possible.

  5. dvh

    Do you think people will finally start removing decade old cruft from libraries and/or start creating single purpose minimal libraries? Or will the defense be just reactionary and on per cve basis?

More from this day

2026-11-21