
Ghostscript CVE-2026-125396: How a Single Crafted Upload Can Hand Attackers Your Server
In November 2026, security firm pwn.ai disclosed CVE-2026-125396, a critical use-after-free vulnerability in Ghostscript's font-loading code that allows a crafted document to bypass the -dSAFER sandbox and execute arbitrary commands on the processing server. The flaw affects roughly ten common applications—including WordPress plugins, Roundcube webmail, and shared print queues—that silently invoke Ghostscript through intermediary libraries such as ImageMagick and Pillow when handling uploaded images, PDFs, or PostScript files. Artifex patched the issue in Ghostscript 10.08.0 on September 8, 2026, but uneven distribution coverage across Debian, Amazon Linux, SUSE, and containerized environments leaves a significant portion of production infrastructure still exposed. This incident highlights the persistent danger of transitive software dependencies: applications that never directly call a rendering engine can still be compromised through it. With public proof-of-concept code available, pre-authentication attack paths confirmed, and multiple major cloud providers already scrambling to patch, the pressure on security teams to audit their entire software supply chain—including container images and bundled libraries—has never been more acute.
Kill Chain


