Improper Validation of Array Index Affecting libgif7 package, versions <5.2.1-150000.4.8.1


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.25% (65th 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-SLES153-LIBGIF7-2809371
  • published7 May 2022
  • disclosed6 May 2022

Introduced: 6 May 2022

CVE-2018-11490  (opens in a new tab)
CWE-129  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade SLES:15.3 libgif7 to version 5.2.1-150000.4.8.1 or higher.

NVD Description

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

The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain "Private->RunningCode - 2" array index is not checked. This will lead to a denial of service or possibly unspecified other impact.

CVSS Scores

version 3.1