{"id":"CVE-2026-125396","published":"2026-11-10T00:17:13.713","lastModified":"2026-11-10T17:17:30.090","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.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-648"],"vendors":[],"products":[],"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=709684","tags":[]},{"url":"https://github.com/ArtifexSoftware/ghostpdl","tags":[]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035","tags":[]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81","tags":[]},{"url":"https://www.vulncheck.com/advisories/ghostscript-before-10.08.0-dsafer-bypass-via-putgstringcopy-forceput-recovery","tags":[]}],"exploitRefs":[{"url":"https://github.com/ArtifexSoftware/ghostpdl","tags":[]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/blob/ghostpdl-10.07.0/Resource/Init/gs_fonts.ps#L1026-L1035","tags":[]},{"url":"https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81","tags":[]}],"hasPoc":true,"ai":null}