Ghostscript -dSAFER Bypass Vulnerability in Artifex Software Product

Patch this weekFull system takeover with local access.
8.5HIGH

CVE-2026-125396

Key Information:

Vendor

Artifexsoftware

Status
Ghostpdl
CVE ID
CVE ID:
CVE-2026-125396
Vendor
CVE Published:
9 November 2026
Fixed in
Fixed in:
10.08.0

Timeline

Exploit known 13 days after it was published

  • ๐Ÿ“ˆ

    Vulnerability started trending

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿ“ฐ

    First article discovered by Cybersecuritynews

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ“ˆ Trended๐Ÿ“ˆ Score: 22,400๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐Ÿ“ฐ News Worthy

How risky is it?

  • No: Needs local access
  • Yes: Public exploit code (4 proof-of-concepts)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
ghostpdl 0 to below 10.08.0 is vulnerable
Install ghostpdl 10.08.0 or later
2Look for signs of compromise

Exploit code is public, so check logs on exposed ghostpdl systems for unusual requests or new processes from before you patched. The 4 public proof-of-concepts show what an attack looks like.

3Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is high (8.5).

What is CVE-2026-125396?

CVE-2026-125396 is a vulnerability in Ghostscript, a software used for rendering PDFs and PostScript documents. The flaw exists in the .putgstringcopy procedure within gs_fonts.ps, where the -dSAFER mode's checks are bypassed. Attackers can exploit this by supplying crafted PostScript or PDF documents, triggering a type error that allows them to recover the .forceput operator and execute arbitrary code through a use-after-free condition.

The vulnerability affects Ghostscript versions prior to 10.08.0, which was patched on September 8. The flaw allows attackers to run commands on servers processing these documents, leveraging common applications that interact with Ghostscript without direct calls.

Potential Impact of CVE-2026-125396

  1. Arbitrary Code Execution: Attackers can execute arbitrary commands on the server running Ghostscript, potentially compromising the system.

  2. Unauthorized Access: The vulnerability can be exploited through various applications, allowing attackers to reach Ghostscript without needing direct access, such as through print jobs or email attachments.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

favicon imageThe Hacker News

Researchers Demonstrate Ghostscript Sandbox-Escape RCE via Crafted File Uploads in Popular Apps

Ghostscript flaw CVE-2026-125396 allows crafted files to escape its sandbox and execute server commands through common file-processing apps.

1 week ago

favicon imageCybersecuritynews

Hackers Could Execute Commands on WordPress, Email and Print Servers Through Upload2Shell Flaw

A flaw in Ghostscript let researchers run commands on WordPress, Roundcube webmail, and Linux print servers through routine file processing.

1 week ago

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Credit

Paulos Yibelo and pwn.ai
Ken Sharp
.