{"id":"CVE-2026-125396","published":"2026-11-09T23:28:00Z","modified":"2026-11-22T04:06:44Z","title":"Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery","vendor":"ArtifexSoftware","product":"ghostpdl","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00439,"percentile":0.38669,"provenance":"source"},"cwes":[{"id":"CWE-648","name":"Incorrect Use of Privileged APIs"}],"references":[{"url":"https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81","tags":["patch"]},{"url":"https://github.com/ArtifexSoftware/ghostpdl","tags":["product"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=709684","tags":["issue-tracking"]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recovery","tags":["third-party-advisory"]},{"url":"https://pwn.ai/upload2shell","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/22/1","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":7.73},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"pocGithub":{"count":5,"skipped":0,"earliest":"2026-11-22","earliestUrl":"https://github.com/Mahgal/upload2shell-check","repos":[{"name":"9bie/CVE-2026-125396-bomb","url":"https://github.com/9bie/CVE-2026-125396-bomb","stars":12,"created":"2026-11-22"},{"name":"evenomn/CVE-2026-125396-upload2shell","url":"https://github.com/evenomn/CVE-2026-125396-upload2shell","stars":8,"created":"2026-11-22"},{"name":"dinosn/upload2shell-poc-generator","url":"https://github.com/dinosn/upload2shell-poc-generator","stars":6,"created":"2026-11-22"},{"name":"Mahgal/upload2shell-check","url":"https://github.com/Mahgal/upload2shell-check","stars":1,"created":"2026-11-22"},{"name":"ashrafzaryouh/CVE-2026-125396","url":"https://github.com/ashrafzaryouh/CVE-2026-125396","stars":1,"created":"2026-11-22"}]},"first":{"date":"2026-11-22","source":"PoC-in-GitHub","url":"https://github.com/Mahgal/upload2shell-check"},"provenance":"source"},"vendorSlug":"artifexsoftware","affectedVersions":[{"vendor":"ArtifexSoftware","product":"ghostpdl","versions":["< 10.08.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-10T16:29:04.642029Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-120559","exploited":false,"provenance":"source"}}