Use After Free Affecting ghostscript package, versions [,9.24)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (55th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GHOSTSCRIPT-2370731
  • published26 Jan 2022
  • disclosed5 Sept 2018
  • creditUnknown

Introduced: 5 Sep 2018

CVE-2018-16540  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade ghostscript to version 9.24 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files to the builtin PDF14 converter could use a use-after-free in copydevice handling to crash the interpreter or possibly have unspecified other impact.

CVSS Scores

version 3.1