Ghostscript sandbox escape shows how image tools can trigger it

Started by Phoenix56, Yesterday at 11:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Topic: Ghostscript sandbox escape shows how image tools can trigger it   Views(Read 25 times)
Active members in this topic:
Phoenix56(1)

Phoenix56

A Ghostscript flaw tracked as CVE-2026-125396 lets a crafted file escape the -dSAFER sandbox and run commands. The Hacker News reports that it scores 8.5 out of 10 and comes from a use-after-free in the font loading code

It was patched in Ghostscript 10.08.0 on 8 September, and Artifex is also moving the vulnerable step into safer code. Security firm pwn.ai tested about ten applications and saw commands run as the low-privilege account that does the rendering

The worrying part is how indirect the triggers are. ImageMagick, Pillow, libvips and a Qt plugin can pass PostScript or EPS content to Ghostscript, even when a file is named .png, .jpg or .pdf

Unauthenticated paths included an anonymous print job to a shared Debian 13 queue, an attachment processed by Roundcube and public upload forms in two WordPress plugins. WordPress core needed an Author account or higher, and closed its own path in 7.0.4

Debian 12 is listed as vulnerable, and several other distros have fixes pending or unconfirmed. Advice includes requiring login on print queues, limiting file types and updating Ghostscript copies bundled in containers, not just on the host

Do you know which of your apps call Ghostscript? And have you checked your container images?

Views my own