CVE-2018-11490
giflib: heap-based buffer overflow in DGifDecompressLine function in dgif_lib.c
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · May 23, 2018
Updated · November 22, 2025
Description
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.
Statement
This issue did not affect the versions of giflib as shipped with Red Hat Enterprise Linux 5, 6, an 7.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-122 · Heap-based Buffer Overflow