CVE-2026-125396: Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery
Vulnerability summary
CVE-2026-125396 is a high (CVSS 8.5) Incorrect Use of Privileged APIs vulnerability in artifexsoftware ghostpdl. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 42.7% of scored vulnerabilities.
Not severe (CVSS 8.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 09-11-2026PublishedVulnerability first disclosed.
- 22-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 5 sources · 2 versions- NVDNIST8.5HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated8.5HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated8.5HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat2 products
- ghostscript< 0:10.02.1-17.el10_3.1 | < 0:9.54.0-20.el9_9.1 | < 0:9.27-21.el8_10
- libgs< 0:10.02.1-17.el10_3.1 | < 0:9.54.0-20.el9_9.1 | < 0:9.27-21.el8_10
Artifexsoftware1 product
- ghostpdl< 10.08.0
Debian1 product
- ghostscriptAll versions (No fix recorded) | < 10.0.0~dfsg-11+deb12u9 | < 10.05.1~dfsg-1+deb13u2 | < 10.08.0~dfsg-1
Ubuntu1 product
- ghostscriptAll versions (No fix recorded)
4 vendors · 5 products
References
20 links- github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.psTechnical DescriptionREPORTARTICLE