Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps
Source GCVE Database
Not known to be exploited · CVSS 8.5 High : upgrade to 10.08.0 soon.
Data as of 10 Nov 2026, 01:21 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
- Patch
- Available – fixed in 10.08.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade ghostpdl and artifexsoftware/ghostpdl to 10.08.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ArtifexSoftwareghostpdl | Affected
| Fixed in
|
GitHubartifexsoftware/ghostpdlpkg:github/artifexsoftware/ghostpdlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Ghostscript to version 10.08.0 or later, where this vulnerability is fixed. Avoid processing untrusted PostScript or PDF files with vulnerable Ghostscript versions until patched.
Description
Ghostscript versions prior to 10.08.0 have a vulnerability that allows bypassing the -dSAFER security feature. This occurs due to the .putgstringcopy procedure in gs_fonts.ps calling the privileged .forceput operator without proper operand type checks. Crafted PostScript or PDF files can exploit this flaw by triggering a type error and recovering .forceput through a custom error handler, leading to use-after-free conditions and arbitrary code execution.
References
- nvd.nist.gov/vuln/detail/CVE-2026-125396 (opens in a new tab)
- github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81 (opens in a new tab)
- bugs.ghostscript.com/show_bug.cgi?id=709684 (opens in a new tab)
- github.com/ArtifexSoftware/ghostpdl (opens in a new tab)
- github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps (opens in a new tab)
- vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recovery (opens in a new tab)