Use After Free Affecting ghostscript-cups package, versions <0:9.07-31.el7_6.9


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

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-RHEL7-GHOSTSCRIPTCUPS-4865693
  • published26 Jul 2021
  • disclosed6 Sept 2018

Introduced: 6 Sep 2018

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

How to fix?

Upgrade RHEL:7 ghostscript-cups to version 0:9.07-31.el7_6.9 or higher.
This issue was patched in RHSA-2019:0229.

NVD Description

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

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.