CVE-2017-7586 Memory corruption in n/a

Medium 5.5 Published Updated

A stack-based buffer overflow in libsndfile allows attackers to execute arbitrary code or cause denial of service via a crafted FLAC file.

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-7586?

CVE-2017-7586 is a medium-severity memory corruption vulnerability in n/a, published on 7 Apr 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

In libsndfile before 1.0.28, an error in the "header_read()" function (common.c) when handling ID3 tags can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.

Weakness: CWE-119

Which versions are affected by CVE-2017-7586?

It affects 1 product.

Products include Libsndfile Project Libsndfile.

How do I fix CVE-2017-7586?

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

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

Sources

Also known as DEBIAN-CVE-2017-7586, GHSA-5jpx-m5hp-3gpv, UBUNTU-CVE-2017-7586.

Is CVE-2017-7586 in your software?

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

Check your SBOMs for free