CVE-2018-7638 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-7638?

CVE-2018-7638 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 "256 colors" case, aka case 8.

Weakness: CWE-125

Which versions are affected by CVE-2018-7638?

It affects 1 product.

Products include Cimg Cimg.

How do I fix CVE-2018-7638?

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

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

Sources

Also known as DEBIAN-CVE-2018-7638, GHSA-r2x2-928x-m223, UBUNTU-CVE-2018-7638.

Is CVE-2018-7638 in your software?

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

Check your SBOMs for free