CVE-2026-125396
Public on 2026-11-10
Modified on 2026-11-12
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Core | ghostscript | Pending Fix | ||
| Amazon Linux 2023 | ghostscript | Pending Fix | ||
| Amazon Linux 2027 Preview | ghostscript | Pending Fix | ||
| Amazon Linux 2 - Core | ghostscript-chinese | Not Affected | ||
| Amazon Linux 2 - Core | ghostscript-fonts | Not Affected |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |