Ghostscript 10.08.0 fixes CVE-2026-125396, a flaw that lets a crafted document cross the interpreter’s -dSAFER sandbox, according to security firm pwn.ai. The release shipped on September 8, 2026.
pwn.ai says the bug is a use-after-free in Ghostscript’s Type 1 font loader. A crafted document can use it to cross the -dSAFER boundary and run commands as the rendering process. VulnCheck’s advisory lists versions before 10.08.0 as affected and gives the flaw a CVSS 4.0 score of 8.5. The advisory credits Paulos Yibelo and pwn.ai, and Ken Sharp, and the upstream report is Artifex bug 709684.
Why a file upload can reach it
Ghostscript sits beneath print, email, upload and preview workflows. Image libraries can hand PostScript or EPS content to it even when the file is named .png or .jpg, so a thumbnail or resize feature can start the interpreter. pwn.ai’s evidence index lists applications where it confirmed a path, each with its own conditions, such as an upload field open to anonymous users or a mail client that previews attachments.
What defenders should check
Update Ghostscript to 10.08.0 or a distribution build that carries the fix. pwn.ai points to a Debian 13 security build, 10.05.1~dfsg-1+deb13u3, and to Ubuntu notice USN-8949-1 covering seven Ubuntu releases. Then inventory every service that converts uploaded or inbound files, since the interpreter often runs without the application calling it by name. Run converters as a low-privilege account with no network egress where possible.
Related fixes we covered earlier include the HTTP/2 flaw fixed in NGINX 1.31.9 and the GPGME double free fixed in GnuPG 2.3.1.