← Vulnerability feed

Vulnerability record · CVE-2017-16942 · published 25 November 2017

CVE-2017-16942: Libsndfile project libsndfile divide by zero vulnerability

LLibsndfile Project · Libsndfile

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.

6.5 CVSS 3.0 Medium EPSS 1.2% · top 32.1% CWE-369 · Divide by zero
6.5CVSS 3.0 base score, v2 4.3
1.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-16942 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2017-12562Libsndfile project libsndfile memory buffer overflow vulnerabilityHeap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile through 1.0.28 allows remote attackers to cause a denial of…EPSS 4.0%8.8CVE-2021-3246Libsndfile project libsndfile out-of-bounds write vulnerabilityA heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted WAV file.EPSS 3.3%8.8CVE-2018-13139Libsndfile project libsndfile out-of-bounds write vulnerabilityA stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (application crash)…EPSS 3.6%8.8CVE-2017-6892Libsndfile project libsndfile memory buffer overflow vulnerabilityIn libsndfile version 1.0.28, an error in the "aiff_read_chanmap()" function (aiff.c) can be exploited to cause an out-of-bounds read memory access v…EPSS 2.5%8.8CVE-2017-8361Libsndfile project libsndfile memory buffer overflow vulnerabilityThe flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (buffer overflow and application cr…EPSS 3.9%8.1CVE-2018-19662Libsndfile project libsndfile out-of-bounds read vulnerabilityAn issue was discovered in libsndfile 1.0.28. There is a buffer over-read in the function i2alaw_array in alaw.c that will lead to a denial of servic…EPSS 2.3%8.1CVE-2017-14245Libsndfile project libsndfile out-of-bounds read vulnerabilityAn 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, relate…EPSS 2.0%8.1CVE-2017-14246Libsndfile project libsndfile out-of-bounds read vulnerabilityAn 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, relate…EPSS 2.2%

Source: NIST National Vulnerability Database (record CVE-2017-16942), CISA KEV, FIRST EPSS (scores of 2026-10-02). This page is refreshed as NVD updates the record.