CVE-2018-7640 Memory corruption in n/a
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-7640?
CVE-2018-7640 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 Monochrome case, aka case 1.
Weakness: CWE-125
Which versions are affected by CVE-2018-7640?
It affects 1 product.
Products include Cimg Cimg.
How do I fix CVE-2018-7640?
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-7640 being exploited?
There is no known exploitation of CVE-2018-7640 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2018-7640, GHSA-pgwm-98m2-3ffc, UBUNTU-CVE-2018-7640.