Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-125396— Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery

Quick assessment

Affected
ArtifexSoftware ghostpdl
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

10.08.0 版本之前的 Ghostscript 在 文件的 过程中存在一个 绕过漏洞。该过程在调用特权操作符 时未对操作数类型进行检查。攻击者可提供特制的 PostScript 或 PDF 文档,触发类型错误,通过自定义错误处理程序恢复 ,并利用 / 机制中的释放后使用(use-after-free)漏洞执行任意代码。

CVSS 7.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-125396

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
特权API的不正确使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ArtifexSoftware ghostpdl 0 ~ 10.08.0 -

II. Public POCs for CVE-2026-125396

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-125396

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-125396 (1)

Vendor Advisories for CVE-2026-125396 (1)

Vendor Pages for CVE-2026-125396 (1)

Other References for CVE-2026-125396 (1)

IV. Related Vulnerabilities