LearnCTEM.com, Best CTEM Learning Platform
CVE Intelligence Hub

CVE-2026-125396: Ghostscript Security Vulnerability

CVE-2026-125396 explained: high Security Vulnerability in Ghostscript. CVSS 8.5. Affected versions, detection, fixes and CTEM priority.

Last updated: Nov 10, 2026

CVSS
8.5 HIGH
EPSS
n/a
CISA KEV
Not listed
CWE
CWE-648

Sources: National Vulnerability Database, CVE.org, CISA KEV, FIRST EPSS

CVE-2026-125396 Overview

Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operator without checking operand types. Attackers can supply crafted PostScript or PDF documents that trigger a type error, recover .forceput via a custom error handler, and cause a use-after-free across save/restore to execute arbitrary code.

Critical Impact

Local or adjacent, unauthenticated attackers who persuade a user to act can exploit this Security Vulnerability in Ghostscript. The CVSS base score is 8.5 (High).

Affected Products

  • Ghostscript: see the vendor advisory for the exact affected versions

Discovery Timeline

  • 2026-11-10: CVE-2026-125396 published to the National Vulnerability Database by disclosure@vulncheck.com
  • 2026-11-10: last updated in the NVD database

Technical Details for CVE-2026-125396

Vulnerability Analysis

CVE-2026-125396 is a Security Vulnerability weakness (CWE-648) in Ghostscript. Based on its CVSS vector, the flaw needs local or adjacent access, needs no login, and relies on a user taking an action.

With a CVSS base score of 8.5, apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Root Cause

The vendor description states: Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operator without checking operand types. Attackers can supply crafted PostScript or PDF documents that trigger a type error, recover .forceput via a custom error handler, and cause a use-after-free across save/restore to execute arbitrary code.

Attack Vector

Based on the CVSS vector, the flaw needs local or adjacent access, needs no login, and relies on a user taking an action. Attack complexity is low complexity.

No exploitation in the wild is confirmed by CISA at the time of the last update. Check the references below for any vendor or researcher proof of concept.

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Detection Methods for CVE-2026-125396

Detection Strategies

  • Inventory every instance of Ghostscript and compare the running version with the affected range above.
  • Check external attack surface scans for internet facing instances of the component.
  • Run an authenticated vulnerability scan once your scanner ships a check for this CVE.

Monitoring Recommendations

  • Forward Ghostscript application, access and audit logs to your SIEM for retrospective hunting.
  • Alert on new processes, configuration changes or outbound connections from the affected service.
  • Track the vendor advisory and the CISA KEV catalog for changes in exploitation status.

How to Mitigate CVE-2026-125396

Immediate Actions Required

  • Apply the fixed version of Ghostscript named in the vendor advisory.
  • Prioritize internet facing and business critical instances first.
  • Rescan after the change to confirm the exposure is closed.

Patch Information

Use the fixed version listed in the vendor advisory for Ghostscript.

Workarounds

  • If patching must wait, restrict network access to the affected service and place it behind authentication or a web application firewall rule.

CWE References

Technical References

This entry is built directly from NVD, CISA KEV and EPSS data. Verify fixed versions in the vendor advisory before you deploy.

Frequently asked questions

CVE-2026-125396 is a high severity Security Vulnerability in Ghostscript with a CVSS score of 8.5. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Related CVEs

CRITICAL9.4
CVE-2026-9560
Openvpn Connect

Privilege escalation via background service of OpenVPN Connect 3.5.1 through 3.8.1 on macOS allows attackers to execute arbitrary commands with elevated privileges via local IPC channel

May 26, 2026
CRITICAL9.1
CVE-2026-41386
Openclaw

OpenClaw before 2026.3.22 contains a privilege escalation vulnerability where bootstrap setup codes are not bound to intended device roles and scopes during pairing. Attackers can exploit this during first-use device pairing to escalate privileges beyond their intended role and scope.

Apr 28, 2026
HIGH8.8
CVE-2026-20126
Cisco Catalyst Sd-Wan Manager

A vulnerability in Cisco Catalyst SD-WAN Manager could allow an authenticated, local attacker with low privileges to gain root privileges on the underlying operating system. This vulnerability is due to an insufficient user authentication mechanism in the REST API. An attacker could exploit this vulnerability by sending a request to the REST API of the affected system. A successful exploit could allow the attacker to gain root privileges on the underlying operating system.

Feb 25, 2026
HIGH7.3
CVE-2026-112177
Ghostscript as shipped with Red Hat Enterprise Linux

A flaw was found in Ghostscript as shipped with Red Hat Enterprise Linux 8. The correction for CVE-2019-14869 was omitted during the rebase from version 9.25 to 9.27, leaving privileged .forceput operations in the .charkeys procedure insufficiently protected. Processing a specially crafted PostScript file may allow an attacker to bypass -dSAFER restrictions and access files outside the permitted paths or execute commands with the permissions of the Ghostscript process.

Oct 20, 2026
Your next credential

Earn your free CTEM certification.

Learn to scope, prioritize, validate and mobilize fixes for CVEs like CVE-2026-125396 with a free CTEM certification.

Free to takePublicly verifiable

Beginner / Practitioner / Program Leader

Explore certifications