Upload2Shell (CVE-2026-125396): a Ghostscript font-loader use-after-free lets a crafted file escape -dSAFER and run commands wherever uploads, mail previews or print jobs reach Ghostscript; fixed in 10.08.0
- Patch: Ghostscript 10.08.0 or your distro's fixed package (Debian 12 10.0.0~dfsg-11+deb12u9, Debian 13 10.05.1~dfsg-1+deb13u2 or later, Ubuntu per USN-8949-1). Check containers and bundled copies, not just the host.
- Exposed: anything that thumbnails or converts untrusted files with ImageMagick/Imagick or Ghostscript (webmail, CMS media libraries, document previews), and CUPS queues that accept unauthenticated jobs.
- See the tip and hunt below, and the playbook.
Sources: pwn.ai (Paulos Yibelo): How We Hacked the Pipes, Upload2Shell, CVE-2026-125396 (dated Nov 17, 2026) · oss-security (Alan Coopersmith, Oracle): Ghostscript 10.08.0 fixes multiple CVEs, including upload2shell (Nov 21, 2026) · Artifex ghostpdl commit 1484854: PS interpreter - validate operands to .putgstringcopy (Bug #709684, Sep 2, 2026) · Debian security tracker: CVE-2026-125396 (DSA-6516-1, DLA-4914-1)