CVE-2017-7585 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-7585?

CVE-2017-7585 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 "flac_buffer_copy()" function (flac.c) 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-7585?

It affects 1 product.

Products include Libsndfile Project Libsndfile.

How do I fix CVE-2017-7585?

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

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

Sources

Also known as ALPINE-CVE-2017-7585, DEBIAN-CVE-2017-7585, GHSA-w427-j9xg-4f6g, UBUNTU-CVE-2017-7585.

Is CVE-2017-7585 in your software?

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

Check your SBOMs for free