Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-16942
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:52 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-16942
Complete source record
{
"id": "51cff0b895f2f3b9fa66b1e29cee40e718636a52a204d7d7318d056cc0cbc522",
"url": "https://osv.dev/vulnerability/CVE-2017-16942",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-16942",
"summary": "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.",
"evidence": "osv:CVE-2017-16942",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-16942",
"aliases": [
"CVE-2017-16942"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libsndfile/libsndfile",
"type": "GIT",
"events": [
{
"introduced": "2c4d2bdce6271fb1dc7df67363cf33cc04c67917"
},
{
"last_affected": "2c4d2bdce6271fb1dc7df67363cf33cc04c67917"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libsndfile_project:libsndfile:1.0.25:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.25"
},
{
"last_affected": "1.0.25"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.0.25"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16942.json"
}
}
],
"modified": "2026-10-20T10:48:16.268085166Z",
"provider": "osv",
"references": [
"https://usn.ubuntu.com/4013-1/",
"https://github.com/erikd/libsndfile/issues/341"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-16942",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380222,
"published_at": "2017-11-25T17:29:00.197+00:00"
}