CVE-2026-125396

published 9 Nov 2026 · updated 22 Nov 2026

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

8.8HighCVSS 7.8EPSS 0%3 public exploits

3 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 10.08.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ArtifexSoftware<10.08.010.08.0

Exploit evidence

3 public sources

github_poc

Coverage

News and research mentioning this CVE

Hacker News·social

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125396 severity on Zeptric[![CVE-2026-125396](https://zeptric.io/badge/cve/CVE-2026-125396.svg)](https://zeptric.io/cve/CVE-2026-125396)