Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 9, 2026
- Updated
- Nov 22, 2026
- Reserved
- Nov 9, 2026
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.
| Product | Versions |
|---|---|
| ghostpdl ArtifexSoftware | before 10.08.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-648 Incorrect Use of Privileged APIs
References
- Patch CommitPatch
- https://github.com/ArtifexSoftware/ghostpdlProduct Page
- https://bugs.ghostscript.com/show_bug.cgi?id=709684Issue Tracker
- https://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035Technical Details
- VulnCheck Advisory: Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput RecoveryThird-Party Advisory
- https://pwn.ai/upload2shell
- http://www.openwall.com/lists/oss-security/2026/11/22/1
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.