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

CVE-2018-7637 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 "16 colors" case, aka case 4.

Weakness: CWE-125

Which versions are affected by CVE-2018-7637?

It affects 1 product.

Products include Cimg Cimg.

How do I fix CVE-2018-7637?

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

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

Sources

Also known as DEBIAN-CVE-2018-7637, GHSA-cxh4-3qx8-3c75, UBUNTU-CVE-2018-7637.

Is CVE-2018-7637 in your software?

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

Check your SBOMs for free