Divide By Zero Affecting libsndfile package, versions <1.0.25-10ubuntu0.16.04.2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-LIBSNDFILE-316466
  • published25 Nov 2017
  • disclosed25 Nov 2017

Introduced: 25 Nov 2017

CVE-2017-16942  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 libsndfile to version 1.0.25-10ubuntu0.16.04.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsndfile package and not the libsndfile package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.