CVE-2018-11489 Memory corruption in n/a

High 8.8 Published Updated

Heap-based buffer overflow in GIFLIB allows attackers to cause denial of service or potentially execute arbitrary code 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-11489?

CVE-2018-11489 is a high-severity memory corruption vulnerability in n/a, 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 CrntCode 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-11489?

It affects 2 products.

Products include Giflib Project Giflib, Sam2p Project Sam2p.

How do I fix CVE-2018-11489?

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-11489 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-11489, GHSA-w8g7-8frf-5h65.

Is CVE-2018-11489 in your software?

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

Check your SBOMs for free