cvelo
P2 · HighCVSS 7.8

Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery

  • CVE-2026-125396
  • GHSA-hg3g-c775-3fpj
  • EUVD-2026-120559

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.

Text from the CVE.org record.

Affected

  • ArtifexSoftware ghostpdl

    • before 10.08.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.