Heap-based Buffer Overflow Affecting libgs package, versions *


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.74% (82nd 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-RHEL7-LIBGS-1377118
  • published26 Jul 2021
  • disclosed6 Jun 2017

Introduced: 6 Jun 2017

CVE-2017-9835  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 libgs.

NVD Description

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

The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.