Ghostscript's font bug reached 10 apps through a `.png`
Ghostscript's font bug reached 10 apps through a .png A file named .png that contains PostScript can reach Ghostscript from ten different applications — and a use-after-free in Ghostscript's Type 1 font loader turns that into remote code execution, past the -dSAFER sandbox. CVE-2026-125396, published November 9. Pre-auth RCE was confirmed against Debian 13's CUPS, Roundcube, WordPress, and…
A .png file containing PostScript code was able to reach ten different applications, leading to a remote code execution (RCE) vulnerability in Ghostscript. The vulnerability, identified as CVE-2026-125396, was published on November 9. The flaw existed in Ghostscript's Type 1 font loader, which contained an error handler that resumed in the wrong place.
This caused a use-after-free condition, allowing attackers to write to protected dictionary entries and execute arbitrary code. The RCE was confirmed in several applications, including Debian 13's CUPS, Roundcube, WordPress, and Google's document pipeline. The exploitation process involved manipulating typecheck, freeing memory, and referencing stale allocations, ultimately allowing attackers to bypass the sandbox and modify interpreter memory.
The vulnerability could be triggered by various applications, not just those that handle PostScript or font files. The researchers credited AI model "GPT 5.6 Sol" for discovering the issue, while humans built the exploit chain.
Rewritten by urgent.news; may contain errors — check the original.