Incorrect Type Conversion or Cast Affecting ghostscript package, versions <9.22~dfsg+1-0ubuntu1.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-GHOSTSCRIPT-381648
  • published25 Sept 2018
  • disclosed5 Sept 2018

Introduced: 5 Sep 2018

CVE-2018-16513  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ghostscript to version 9.22~dfsg+1-0ubuntu1.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript package and not the ghostscript package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact.