CVE-2018-7589 Use after free in n/a

High 7.8 Published Updated

A double free vulnerability in the CImg library allows attackers to execute arbitrary code or cause denial of service via crafted BMP images.

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-2018-7589?

CVE-2018-7589 is a high-severity use after free vulnerability in n/a, published on 1 Mar 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

An issue was discovered in CImg v.220. A double free in load_bmp in CImg.h occurs when loading a crafted bmp image.

Weakness: CWE-415

Which versions are affected by CVE-2018-7589?

It affects 1 product.

Products include Cimg Cimg.

How do I fix CVE-2018-7589?

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-2018-7589 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-7589, GHSA-grxg-wwwv-g7cf, UBUNTU-CVE-2018-7589.

Is CVE-2018-7589 in your software?

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

Check your SBOMs for free