All reports
High

ghostscript: Ghostscript: Arbitrary code execution via SAFER sandbox bypass

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

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.

A flaw was found in Ghostscript. An attacker can achieve arbitrary code execution by tricking a user or automated system into processing a maliciously crafted PostScript or PDF document. This issue occurs due to missing operand type validation during font handling operations, allowing an attacker to bypass the SAFER security sandbox and execute unauthorized code.