CVE-2026-125396
8.5high
Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ArtifexSoftware ghostpdl | before 10.08.0 | CVE List |
All scores
| VulnCheck | 8.5high CVSS:4.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:N |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-125396 changed 2026-11-22 | CVE Terms of Use |
| NVD | CVE-2026-125396 changed 2026-11-22 | Public domain |