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…
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- debian 12:ghostscript
https://osv.dev/vulnerability/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 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. Affected: Debian:12:ghostscript, Debian:13:ghostscript, Debian:14:ghostscript Fixed in: 10.0.0~dfsg-11+deb12u9, 10.05.1~dfsg-1+deb13u2, 10.08.0~dfsg-1 References: https://security-tracker.debian.org/tracker/CVE-2026-125396