CVE-2017-16942 Denial of service in n/a

Medium 6.5 Published Updated

A divide-by-zero error in libsndfile allows attackers to cause a denial of service via a crafted audio file.

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

CVE-2017-16942 is a medium-severity denial of service vulnerability in n/a, published on 25 Nov 2017. 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

In libsndfile 1.0.25 (fixed in 1.0.26), a divide-by-zero error exists in the function wav_w64_read_fmt_chunk() in wav_w64.c, which may lead to DoS when playing a crafted audio file.

Weakness: CWE-369

Which versions are affected by CVE-2017-16942?

It affects 1 product.

Products include Libsndfile Project Libsndfile.

How do I fix CVE-2017-16942?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-16942 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-16942, GHSA-m7qj-97rw-rxp3, UBUNTU-CVE-2017-16942.

Is CVE-2017-16942 in your software?

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

Check your SBOMs for free