CVE-2015-7508 Memory corruption in Libnsbmp

High 8.8 Published Updated

Heap-based buffer overflow in Libnsbmp allows attackers to execute arbitrary code or crash applications via crafted BMP files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2015-7508?

CVE-2015-7508 is a high-severity memory corruption vulnerability in Libnsbmp, published on 12 Feb 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Heap-based buffer overflow in the bmp_decode_rle function in libnsbmp.c in Libnsbmp 0.1.2 allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via the last row of RLE data in a crafted BMP file.

Weakness: CWE-787

Which versions are affected by CVE-2015-7508?

It affects 1 product.

Products include Netsurf-Browser Libnsbmp.

How do I fix CVE-2015-7508?

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-2015-7508 being exploited?

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

Sources

Also known as DEBIAN-CVE-2015-7508, GHSA-j85r-37ch-rchw.

Is CVE-2015-7508 in your software?

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

Check your SBOMs for free