CVE-2026-125396
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.
How to fix
- ArtifexSoftware ghostpdl10.08.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ArtifexSoftware ghostpdl | v < 10.08.0 | 10.08.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.