CVE-2018-7641 Memory corruption in n/a

High 7.8 Published Updated

A heap-based buffer over-read in the CImg library allows attackers to cause denial of service or disclose information via a crafted BMP image.

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-7641?

CVE-2018-7641 is a high-severity memory corruption vulnerability in n/a, published on 2 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 heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a "32 bits colors" case, aka case 32.

Weakness: CWE-125

Which versions are affected by CVE-2018-7641?

It affects 1 product.

Products include Cimg Cimg.

How do I fix CVE-2018-7641?

Upgrade to a fixed version.

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

Is CVE-2018-7641 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-7641, GHSA-qvp3-67h3-889q, UBUNTU-CVE-2018-7641.

Is CVE-2018-7641 in your software?

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

Check your SBOMs for free