Researchers Run Server Commands Through a Ghostscript Font Bug
Want more insights like this?
Security firm pwn.ai showed one crafted file can slip past Ghostscript's -dSAFER sandbox and run commands on servers that convert documents and images. The flaw, CVE-2026-125396, scores CVSS 8.5 (High) under v4.0 and 7.8 (High) under v3.1, and is a use-after-free memory bug in its Type 1 font loader. The CVE went public on November 9, 2026, and no attacks have been reported.
Libraries like ImageMagick and Pillow can pass files named .png or .jpg to Ghostscript, so a simple thumbnail can set it off. pwn.ai ran commands as the low-privilege rendering account in about ten apps, including anonymous print jobs to shared Debian 13 queues and Roundcube email attachments.
Artifex fixed it in Ghostscript 10.08.0 on September 8, 2026, and Debian 13 and Ubuntu ship patched packages. pwn.ai's survey still listed Debian 12 and openSUSE Leap 16 as affected, with Amazon Linux and SUSE fixes pending. Bundled container copies need separate updates. Until they patch, admins can require logins on print queues and limit which file types their apps accept.
Source: The Hacker News