CVE-2026-125396: Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-25 00:24 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by VulnCheck, published 2026-11-09).
Weakness: Incorrect Use of Privileged APIs
How it can be exploited
Exploitable with local access with low attack complexity with no special attack requirements needing no privileges and a user must take an action. Impact: confidentiality high, integrity high, availability high. 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
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: total.
Public exploit evidence (Exploit Observer)
Exploit Observer has no public exploit code naming this CVE. Check Exploit Observer for anything new.
Live scores
- EPSS
- 0.004
low predicted chance of attack - VEDAS
- 0.969
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Out of scope (local)
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| ArtifexSoftware ghostpdl | before 10.08.0 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Fixed versions stated in the CVE record: 10.08.0.
Vendor guidance:
- Patch Commit (patch)
How to detect it
This bug needs local access to exploit. VEDAS signatures cover remotely exploitable bugs for now, so there is no network rule or remote check for it. Patch it and watch your endpoint telemetry for unusual local activity.
Advisories on this CVE
References
Vendor advisories and patches
- Patch Commit (patch)
Technical analysis and advisories
- https://bugs.ghostscript.com/show_bug.cgi?id=709684 (issue-tracking)
- https://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035 (technical-description)
- VulnCheck Advisory: Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery (third-party-advisory)
Other references
- https://github.com/ArtifexSoftware/ghostpdl (product)
- https://pwn.ai/upload2shell
- http://www.openwall.com/lists/oss-security/2026/11/22/1
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners