Out-of-bounds Write Affecting giflib package, versions <5.1.4-0.3~16.04.1


Severity

Recommended
low

Based on Ubuntu 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-UBUNTU1604-GIFLIB-429781
  • published26 May 2018
  • disclosed26 May 2018

Introduced: 26 May 2018

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

How to fix?

Upgrade Ubuntu:16.04 giflib to version 5.1.4-0.3~16.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream giflib package and not the giflib package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 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