Every CVE Search/ Get API key

CVE-2017-16942

In libsndfile 1.0.25 (fixed in 1.0.26), a divide-by-zero error exists in the function...

6.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.23%Up 0.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2017-16942
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-369
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-16942
Updated
2026-11-02
EUVDEUVD-2017-8111 No score

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.

Record
EUVD-2017-8111
Updated
2026-11-03
GitHub AdvisoriesGHSA-m7qj-97rw-rxp3 6.5

In libsndfile 1.0.25 (fixed in 1.0.26), a divide-by-zero error exists in the function...

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.

Record
GHSA-m7qj-97rw-rxp3
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-369
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2017-16942
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-16942 6.5

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.

Record
DEBIAN-CVE-2017-16942
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2017-16942 6.5

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.

Record
UBUNTU-CVE-2017-16942
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0236 No score

Updated libsndfile packages fix security vulnerabilities

An out of bounds read in the function d2alaw_array() in alaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values (CVE-2017-14245).

An out of bounds read in the function d2ulaw_array() in ulaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values (CVE-2017-14246).

In libsndfile 1.0.28, a divide-by-zero error exists in the function double64_init() in double64.c, which may lead to DoS when playing a crafted audio file (CVE-2017-14634).

Divide-by-zero in the function wav_w64_read_fmt_chunk(), which may lead to Denial of service (CVE-2017-16942).

Note that CVE-2017-16942 only affected Mageia 5.

Record
MGASA-2018-0236
Updated
2026-11-02
OSVSUSE-SU-2018:0351-1 No score

Recommended update for libsndfile

  • This update for libsndfile fixes a memory leak in an error path.(bsc#1038856)

  • CVE-2017-16942: 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. (bsc#1069874)

  • CVE-2017-14634: In libsndfile 1.0.28, a divide-by-zero error exists in the function double64_init() in double64.c, which may lead to DoS when playing a crafted audio file. (bsc#1059911)

  • CVE-2017-14245: An out of bounds read in the function d2alaw_array() in alaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values. (bsc#1059912)

  • CVE-2017-14246: An out of bounds read in the function d2ulaw_array() in ulaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values.(bsc#1059913)

Record
SUSE-SU-2018:0351-1
Updated
2026-11-02
OSVSUSE-SU-2018:0352-1 No score

Security update for libsndfile

This update for libsndfile fixes the following issues:

  • CVE-2017-16942: Divide-by-zero in the function wav_w64_read_fmt_chunk(), which may lead to Denial of service (bsc#1069874).
  • CVE-2017-6892: Fixed an out-of-bounds read memory access in the aiff_read_chanmap() (bsc#1043978).
  • CVE-2017-14634: In libsndfile 1.0.28, a divide-by-zero error exists in the function double64_init() in double64.c, which may lead to DoS when playing a crafted audio file. (bsc#1059911)
  • CVE-2017-14245: An out of bounds read in the function d2alaw_array() in alaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values. (bsc#1059912)
  • CVE-2017-14246: An out of bounds read in the function d2ulaw_array() in ulaw.c of libsndfile 1.0.28 may lead to a remote DoS attack or information disclosure, related to mishandling of the NAN and INFINITY floating-point values.(bsc#1059913)
Record
SUSE-SU-2018:0352-1
Updated
2026-11-02
OSVUSN-4013-1 No score

libsndfile vulnerabilities

It was discovered that libsndfile incorrectly handled certain malformed files. A remote attacker could use this issue to cause libsndfile to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-4013-1
Updated
2026-11-02
OSVUSN-4704-1 No score

libsndfile vulnerabilities

It was discovered that libsndfile incorrectly handled certain malformed files. A remote attacker could use this issue to cause libsndfile to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2017-12562)

It was discovered that libsndfile incorrectly handled certain malformed files. A remote attacker could use this issue to cause libsndfile to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-14245, CVE-2017-14246, CVE-2017-14634, CVE-2017-16942, CVE-2017-6892, CVE-2018-13139, CVE-2018-19432, CVE-2018-19661, CVE-2018-19662, CVE-2018-19758, CVE-2019-3832)

Record
USN-4704-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libsndfile
Debian:12
before 1.0.27-1
1.0.27-1
libsndfile
Debian:13
before 1.0.27-1
1.0.27-1
libsndfile
Debian:14
before 1.0.27-1
1.0.27-1
libsndfile
Mageia:5
before 1.0.25-9.5.mga5
1.0.25-9.5.mga5
libsndfile
Mageia:6
before 1.0.28-3.2.mga6
1.0.28-3.2.mga6
libsndfile
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 1.0.20-2.19.7.3
1.0.20-2.19.7.3
libsndfile
SUSE:Linux Enterprise Server 11 SP4
before 1.0.20-2.19.7.3
1.0.20-2.19.7.3
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 1.0.20-2.19.7.3
1.0.20-2.19.7.3
libsndfile
SUSE:Linux Enterprise Desktop 12 SP2
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
SUSE:Linux Enterprise Desktop 12 SP3
before 1.0.25-36.7.2
1.0.25-36.7.2
Show 11 moreShow less
Affected packages
PackageAffectedFixed
libsndfile
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
SUSE:Linux Enterprise Server 12 SP2
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
SUSE:Linux Enterprise Server 12 SP3
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 1.0.25-36.7.2
1.0.25-36.7.2
libsndfile
Ubuntu:Pro:14.04:LTS
before 1.0.25-7ubuntu2.2+esm1, plus listed versions
1.0.25-7ubuntu11.0.25-7ubuntu21.0.25-7ubuntu2.11.0.25-7ubuntu2.2
1.0.25-7ubuntu2.2+esm1
libsndfile
Ubuntu:16.04:LTS
before 1.0.25-10ubuntu0.16.04.2, plus listed versions
1.0.25-9.11.0.25-101.0.25-10ubuntu0.16.04.1
1.0.25-10ubuntu0.16.04.2
libsndfile
Ubuntu:18.04:LTS
before 1.0.28-4ubuntu0.18.04.1, plus listed versions
1.0.28-4
1.0.28-4ubuntu0.18.04.1
libsndfile
Ubuntu:16.04:LTS
before 1.0.25-10ubuntu0.16.04.3, plus listed versions
1.0.25-9.11.0.25-101.0.25-10ubuntu0.16.04.11.0.25-10ubuntu0.16.04.2
1.0.25-10ubuntu0.16.04.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-16942 is a medium vulnerability (CVSS 6.5) in Libsndfile Project Libsndfile, published November 25, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.23%, the 69th percentile. Fixed in libsndfile 1.0.27-1.

References

Show 32 moreShow less
MoveEnter Open