Skip to content
Upload2Shell: Ghostscript Type 1 Font Loader Flaw Enables Command Execution (CVE-2026-125396)

Upload2Shell: Ghostscript Type 1 Font Loader Flaw Enables Command Execution (CVE-2026-125396)

First seen 22 Nov 2026, 04:12 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 22, 2026 at 04:13 UTC
  • •CVE-2026-125396 (CVSS 8.5) is a use-after-free in Ghostscript's Type 1 font loader that allows sandbox escape to command execution.
  • •Upstream Ghostscript releases before 10.08.0 are affected; Artifex released the fix in 10.08.0 on 2026-09-08.
  • •Reported exposure includes WordPress uploads, Roundcube webmail and Linux print servers via routine file processing.
  • •WordPress shipped a separate fix, CVE-2026-65640, for its upload path exposure.
  • •Debian packaged the upstream fix and later issued a Debian 13 security update.

Researchers disclosed Upload2Shell, a use-after-free in Ghostscript's Type 1 font loader that lets a crafted document escape the -dSAFER sandbox and execute attacker-chosen commands as the rendering process, per the Hacker News post by pwn.ai. The flaw is tracked as CVE-2026-125396 (CVSS 8.5) and affects upstream Ghostscript releases before 10.08.0. The researchers say the bug is reachable through routine document, image, email, upload and preview workflows, including files named .png or .jpg passed through ImageMagick conversion. Cybersecuritynews reports that WordPress, Roundcube webmail and Linux print servers could be reached this way without exposing Ghostscript directly. The researchers say WordPress Core's upload path exposed the renderer to Author-level users and Contributors granted upload_files, and that several plugins had public upload fields requiring no login; WordPress shipped a separate fix, CVE-2026-65640. The researchers filed the flaw upstream with Artifex (Bug 709684), and Artifex released Ghostscript 10.08.0 with the fix on 2026-09-08. Debian packaged the release and later issued a Debian 13 security update; the articles also mention a confirmed unauthenticated CUPS path on Debian 13 whose details were cut off in the source.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-08-17
WordPress fix CVE-2026-65640 published
WordPress shipped its separate upload-path fix; first public PoC for that CVE was 2026-08-13.
KNOWN CVE DATES
2026-09-02
Flaw reported upstream to Artifex
The Type 1 loader flaw was filed with Artifex as Bug 709684.
Hacker News
2026-09-08
Ghostscript 10.08.0 released with fix
Artifex released the fix for the Type 1 loader flaw in Ghostscript 10.08.0.
Hacker News
2026-11-09
CVE-2026-125396 published
CVE-2026-125396 (CVSS 8.5, High) was published.
KNOWN CVE DATES
2026-11-21
Upload2Shell disclosed publicly
pwn.ai published its research describing the escape and affected application paths.
Hacker News

More articles in this cluster (4)

Following this threat?

Track Artifex and CVE-2026-125396 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Which versions are affected?
Upstream Ghostscript releases before 10.08.0 are affected. Upgrading to 10.08.0 or a distribution package carrying the fix addresses the flaw.
Am I exposed if I don't run Ghostscript directly?
The researchers report that WordPress, Roundcube and Linux print servers can reach Ghostscript through routine file processing, so indirect exposure is possible. Check whether your upload, preview or print pipeline invokes Ghostscript.
What should I do first?
Update Ghostscript to 10.08.0 or your distribution's patched package, and update WordPress to the release containing the CVE-2026-65640 fix if you run it.