{"vuln_id":"CVE-2026-125396","aliases":[],"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.","published_at":"2026-11-10T00:17:13.713000Z","modified_at":"2026-11-22T09:47:38.315000Z","first_seen_at":"2026-11-22T08:08:01.744607Z","severity":"high","severity_source":"nvd","cvss_score":8.5,"cvss_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/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","cwe":["CWE-648"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00347,"epss_percentile":0.28835,"nvd_status":"Awaiting Analysis","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-125396"},"matched_alias":null,"items":[{"id":12772,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-125396: Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operat…","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.\n\nAffected: Debian:12:ghostscript, Debian:13:ghostscript, Debian:14:ghostscript\n\nFixed in: 10.0.0~dfsg-11+deb12u9, 10.05.1~dfsg-1+deb13u2, 10.08.0~dfsg-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-125396","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-125396","published_at":"2026-11-10T00:17:13.713000Z","updated_at":"2026-11-22T09:47:38.315000Z","fetched_at":"2026-11-22T15:05:37.106258Z","severity":"high","cvss_score":8.5,"epss":0.00347,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"debian","product":"12:ghostscript","vuln_id":"CVE-2026-125396","vuln_ids":["CVE-2026-125396","DEBIAN-CVE-2026-125396"],"tags":["osv","debian","fix-available"],"cluster_id":10938,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12772","html":"https://vulnwatch.ve1ve2.com/item/12772"}},{"id":11386,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-125396: Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operat…","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.\n\nReferences:\nhttps://bugs.ghostscript.com/show_bug.cgi?id=709684\nhttps://github.com/ArtifexSoftware/ghostpdl\nhttps://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035\nhttps://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81\nhttps://www.vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recovery\nhttp://www.openwall.com/lists/oss-security/2026/11/22/1\nhttps://pwn.ai/upload2shell","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125396","published_at":"2026-11-10T00:17:13.713000Z","updated_at":"2026-11-22T05:18:07.513000Z","fetched_at":"2026-11-22T08:08:01.653607Z","severity":"high","cvss_score":8.5,"epss":0.00347,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-125396","vuln_ids":["CVE-2026-125396"],"tags":["CWE-648"],"cluster_id":10938,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11386","html":"https://vulnwatch.ve1ve2.com/item/11386"}}]}