Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery

State
Published
Severity
8.5 High
Published
Nov 9, 2026
Updated
Nov 22, 2026
Reserved
Nov 9, 2026

Read the record on cve.org

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.

ProductVersions
ghostpdl ArtifexSoftwarebefore 10.08.0 Affected

Weaknesses

  • CWE-648 Incorrect Use of Privileged APIs

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.