CVE-2017-9872 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can cause a denial of service or potentially execute code via a crafted audio file exploiting a stack-based buffer overflow in the mpglib library.

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-2017-9872?

CVE-2017-9872 is a high-severity memory corruption vulnerability in n/a, published on 25 Jun 2017. 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

The III_dequantize_sample function in layer3.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and other products, allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted audio file.

Weakness: CWE-119

Which versions are affected by CVE-2017-9872?

It affects 1 product.

Products include Lame Project Lame.

How do I fix CVE-2017-9872?

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-2017-9872 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-9872 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2017-9872, GHSA-cp24-mp3r-g87f, UBUNTU-CVE-2017-9872.

Is CVE-2017-9872 in your software?

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

Check your SBOMs for free