CVE-2017-18120 Use after free in n/a

High 7.8 Published Updated

A double-free vulnerability in gifsicle allows remote attackers to cause denial of service or potentially execute code via a crafted GIF file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-18120?

CVE-2017-18120 is a high-severity use after free vulnerability in n/a, published on 2 Feb 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.

Weakness: CWE-415

Which versions are affected by CVE-2017-18120?

It affects 1 product.

Products include Lcdf Gifsicle.

How do I fix CVE-2017-18120?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-18120 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-18120, GHSA-6f9j-p2gf-3f72, MGASA-2018-0280, UBUNTU-CVE-2017-18120.

Is CVE-2017-18120 in your software?

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

Check your SBOMs for free