Skip to content
Brief Security & Trust ·

Ghostscript flaw lets a crafted file run commands; Linux fixes are uneven

Security firm pwn.ai showed a font bug in Ghostscript could be reached through uploads, email and print jobs.

In brief
  • A bug in Ghostscript let a crafted file escape its sandbox and run commands. Artifex fixed it in version 10.08.0 on 8 September.
  • Linux fixes are uneven, and several tested paths needed no login. A copy of Ghostscript bundled in a container or app can stay old.

Security firm pwn.ai said a bug in Ghostscript, a tool that converts PDF and PostScript files, lets a crafted file run commands on a server. It is tracked as CVE-2026-125396. Artifex, Ghostscript's maker, fixed it in version 10.08.0 on 8 September, The Hacker News reported. That outlet said no attacks using it have been reported.

A crafted font corrupts memory, which lets the file switch off -dSAFER, Ghostscript's sandbox. Commands run as the low-privilege rendering account. pwn.ai got commands running in about ten applications. Several routes needed no login: an anonymous print job on Debian 13, an email opened in Roundcube, public forms in two WordPress plugins. The Hacker News noted the CVE is classed as local, yet the tests reached it over the network. Linux fixes are uneven: the firm's survey found several distributions still vulnerable or awaiting a fix last week. Debian 13 and Ubuntu have fixes. Status for the Red Hat family and stable Fedora is unknown.

The risk sits in a shared tool. An app need not call Ghostscript itself; ImageMagick or Pillow can, so uploads and thumbnails rarely appear on a renderer list. Ask which features accept outside files, which worker images bundle Ghostscript, and who patches them.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: pwn.ai.