CVE Database›CVE-2018-16513

CVE-2018-16513

ghostscript: setcolor missing type check (699655)

Loading…

Severity

Important

Red Hat Product Security

7.3

CVSS 3.0

Review impact separately from score.

Published · August 21, 2018

Updated · November 22, 2025

Description

It was discovered that the ghostscript did not properly validate the operands passed to the setcolor function. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document.

Statement

This issue did not affect the versions of ghostscript as shipped with Red Hat Enterprise Linux 5, 6, and 7.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Please see https://bugzilla.redhat.com/show_bug.cgi?id=1619748#c3

CVSS / CWE

CVSS 3.0 · 7.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CWE-253 · Incorrect Check of Function Return Value