cve.bz

CVE-2018-11490 Improper Validation of Array Index

8.8 highEPSS 2.4%

High (8.8). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-129 Improper Validation of Array Index
CWE-787 Out-of-bounds Write
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-11490 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-11490?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-11490?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-11490 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
giflib_project:giflibfrom 3.0 through 3.1.1
sam2p_project:sam2p0.49.4
debian:debian_linux10.0
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10giflib5.1.4-3+deb10u1DLA-3223-1
Debian12, 13, 14giflib5.1.9-1DEBIAN-CVE-2018-11490
Ubuntu16.04:LTSgiflib5.1.4-0.3~16.04.1UBUNTU-CVE-2018-11490 USN-4107-1
Ubuntu18.04:LTSgiflib5.1.4-2ubuntu0.1UBUNTU-CVE-2018-11490 USN-4107-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 4 moregiflib5.2.1-150000.4.8.1SUSE-SU-2023:1970-2
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Real Time 15 SP2giflib5.2.1-150000.4.8.1SUSE-SU-2022:1565-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5giflib5.0.5-13.3.1SUSE-SU-2024:1622-1
openSUSELeap 15.3, Leap 15.4giflib5.2.1-150000.4.8.1SUSE-SU-2022:1565-1
openSUSETumbleweedgiflib5.2.1-2.3openSUSE-SU-2024:10784-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the versions of giflib as shipped with Red Hat Enterprise Linux 5, 6, an 7.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5giflibNot affected
Red Hat Enterprise Linux 6giflibNot affected
Red Hat Enterprise Linux 7giflibNot affected
Red Hat Enterprise Linux 8giflibNot affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational ToolsphantomjsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-11490.

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON