CVE-2018-11490 Memory corruption in n/a

High 8.8 Published Updated

Heap-based buffer overflow in GIFLIB allows attackers to cause denial of service via crafted GIF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-11490?

CVE-2018-11490 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 26 May 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787, CWE-129

Which versions are affected by CVE-2018-11490?

It affects 4 products.

Linux distribution packages (1)
giflib openSUSE:TumbleweedAll versions5.2.1-2.3

Products include Canonical Ubuntu Linux, Debian Debian Linux, Giflib Project Giflib, Sam2p Project Sam2p.

How do I fix CVE-2018-11490?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-11490 being exploited?

There is no known exploitation of CVE-2018-11490 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-11490, GHSA-5fjm-57qj-h2pj, MGASA-2019-0096, UBUNTU-CVE-2018-11490, openSUSE-SU-2024:10784-1.

Is CVE-2018-11490 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free