Read the docs

-dSAFER bypass in Ghostscript lets crafted documents run code

Priority LOW 38CWE-648Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Ghostscript from 0 before 10.08.0 contains a -dSAFER bypass in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operator without checking operand types. A local attacker can supply crafted PostScript or PDF documents that trigger a type error and recover .forceput through a custom error handler, which leads to a use-after-free across save and restore and arbitrary code execution if a user opens the document. This is classified as CWE-648, Incorrect Use of Privileged APIs.

Written with Claude Haiku 5.5 from the sources below · 2026-11-10

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0013 2nd percentileScored 2026-11-16
Fix Fixed ghostpdl (ArtifexSoftware): 10.08.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ArtifexSoftwareghostpdlbefore 10.08.010.08.0Patch availableCNA
  • ghostpdl VendorArtifexSoftware Affected before 10.08.0 Fixed in 10.08.0 Patch available CNA

Remediation

Upgrade ArtifexSoftware ghostpdl to version 10.08.0, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-10

  • Fix · CNA ghostpdl (ArtifexSoftware) Fixed in 10.08.0

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-125396
  2. 2026-11-10 Alias added: GHSA-hg3g-c775-3fpj
  3. 2026-11-10 CISA SSVC decision points changed
  4. 2026-11-10 Priority changed: MEDIUM → LOW

References

Sources