Patch Ticker
EnglishEN
Elevated

Ghostscript font loader sandbox bypass allows command execution (Upload2Shell)

CVE-2026-125396

Servers that process documents or images can be hacked with a bad file.

CVE
CVE-2026-125396 (opens in a new tab)
Score
CVSS 8.5
Public date
2026-09-02
First seen
8.5
Products

Mitigation

Update to Ghostscript 10.08.0 or later. Debian 13 users should update to 10.05.1~dfsg-1+deb13u3 or later, and Ubuntu users to the fixed packages in USN-8949-1. Until then, require authentication on shared CUPS print queues, and set application policy so the renderer cannot start a shell.

Summary

A flaw in Ghostscript's Type 1 font loader lets a crafted PDF or PostScript document escape the -dSAFER sandbox and run commands. Web services, email tools and print servers that process documents or images can be affected.

Exploit code is public

Affected when

  • Ghostscript before 10.08.0
  • A service or program that passes documents or images to Ghostscript

Incidents by product: ghostpdl

All Incidents of 2026-11-10

Distribution packages (10) (every link below opens in a new tab)

Sources: Debian Security Tracker · Red Hat Security Data (CC BY 4.0) · SUSE CSAF VEX (CC BY 4.0)

Read the write-up · github.com (opens in a new tab)