CVE-2026-125396
Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery
- Severity
- high CVSS 8.5 (v4.0)
- Affects
- ghostpdl · ArtifexSoftware
- Weakness
- CWE-648: Incorrect Use of Privileged APIs
- Published
- 9 November 2026 by VulnCheck
- First seen on our lists
- 21 November 2026
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.
Our coverage
On the lists
- [oss-security] Ghostscript 10.08.0 fixes multiple CVEs, including "upload2shell"