Skip to content
Fencer Vulns
high 8.8

CVE-2018-11490 json

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-ba…

published 2018-05-26 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-3521

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • giflib Debian 14, Debian 13, Debian 12 5.1.9-1

debian advisories DEBIAN-CVE-2018-11490

  • giflib Ubuntu 16.04 LTS 5.1.4-0.3~16.04.1
  • giflib Ubuntu 18.04 LTS 5.1.4-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-11490

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • giflib SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 5.0.5-13.3.1
  • giflib SLE Real Time 15 SP2, SLE Module for Basesystem 15 SP3, openSUSE Leap 15.4 +8 more 5.2.1-150000.4.8.1

suse advisories SUSE-SU-2024:1622-1SUSE-SU-2023:1970-2SUSE-SU-2022:1565-1

  • giflib openSUSE Tumbleweed 5.2.1-2.3

opensuse advisories openSUSE-SU-2024:10784-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-11490 updated cvss 3.3

giflib: heap-based buffer overflow in DGifDecompressLine function in dgif_lib.c

  • Red Hat Enterprise Linux 5 giflib Red Hat Enterprise Linux 6 giflib, giflib-utils Red Hat Enterprise Linux 7 giflib, giflib-utils Red Hat Enterprise Linux 8 giflib Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools phantomjs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.43% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-129 Improper Validation of Array Index
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.