{"id":"CVE-2026-125396","aliases":["CVE-2026-125396"],"related":[],"kind":"vulnerability","state":"published","title":"Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-09T23:28:00.084Z","modified":"2026-11-22T05:18:07.513Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-648"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"10.08.0","status":"affected"}],"vendor":"ArtifexSoftware","product":"ghostpdl","source":"cvelist"}],"references":[{"url":"https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ArtifexSoftware/ghostpdl","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=709684","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recovery","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://pwn.ai/upload2shell","tags":[],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/22/1","tags":[],"sources":["cvelist","nvd"]}],"credits":["Paulos Yibelo and pwn.ai","Ken Sharp"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-10T16:29:04.642Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-125396","url":"https://www.cve.org/CVERecord?id=CVE-2026-125396","licence":"CVE Terms of Use","modified":"2026-11-22T04:06:44.041Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-125396","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125396","licence":"Public domain","modified":"2026-11-22T05:18:07.513Z"}],"updatedAt":"2026-11-25T22:59:49.700Z","epss":{"score":0.00475,"percentile":0.42694,"date":"2026-12-01T12:00:22.000Z"}}