Science & Tech · Cybersecurity · 3 hrs ago
Ghostscript flaw let crafted uploads run commands on servers
A flaw in Ghostscript let crafted documents run commands on servers that processed them.
Ghostscript is software used by many Linux servers to convert PDFs, images and other files, often through features such as previews or printing.
Researchers at security firm pwn.ai demonstrated the flaw through about ten applications, including some public upload forms and a shared print queue.
The commands ran with the low privileges of the account handling the file, and the researchers said some routes required no login.
Ghostscript fixed the flaw in version 10.08.0 on September 8, while WordPress separately fixed one of its upload paths in version 7.0.4.
No attacks using the flaw have been reported, but updating the application alone may not be enough if it uses an older Ghostscript copy bundled in a container or application.
A now-patched Ghostscript flaw let crafted documents escape its security sandbox and run commands on servers processing them.
Security firm pwn.ai demonstrated the flaw through upload, preview and print features in about ten applications.
The flaw, CVE-2026-125396, was fixed in Ghostscript version 10.08.0 on September 8.
Researchers said there were no reports of the flaw being used in attacks.
Some demonstrated paths required no login, while WordPress Core required an account with file-upload ability.
- Who
- Security firm pwn.ai demonstrated the flaw; Artifex develops Ghostscript and fixed it.
- What
- A use-after-free flaw let crafted documents disable Ghostscript’s security checks and run commands on the server.
- When
- Artifex fixed the flaw on September 8, 2026. The CVE was published last week, according to the article.
- Where
- In Ghostscript, used by many Linux servers to process documents and images.
- Why
- A use-after-free in Ghostscript’s font-loading code allowed a crafted document to switch off the -dSAFER sandbox checks.
This story does not have two clearly opposing sides.
WordPress closed its own upload path in version 7.0.4 under CVE-2026-65640.
Artifex fixed the Ghostscript flaw in version 10.08.0.
The CVE was published, according to The Hacker News.
- CVE
- CVE-2026-125396
- Severity score
- 8.5 out of 10
- Ghostscript fix
- Version 10.08.0, released with the fix on September 8
- Demonstrated applications
- About ten
- WordPress fix
- Version 7.0.4, released August 12, under CVE-2026-65640
1 source
What people are saying
an ancient piece of code well known to be a vulnerability, but difficult to eradicate