{"id":"CVE-2017-16942","aliases":["DEBIAN-CVE-2017-16942","EUVD-2017-8111","GHSA-m7qj-97rw-rxp3","MGASA-2018-0236","SUSE-SU-2018:0351-1","SUSE-SU-2018:0352-1","UBUNTU-CVE-2017-16942","USN-4013-1","USN-4704-1"],"status":"published","title":"In libsndfile 1.0.25 (fixed in 1.0.26), a divide-by-zero error exists in the function...","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.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0123,"percentile":0.69146,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-369"],"published":"2017-11-25T00:00:00Z","modified":"2026-10-20T10:48:16Z","fixes":[{"ecosystem":"Debian:12","package":"libsndfile","fixed_in":["1.0.27-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libsndfile","fixed_in":["1.0.27-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libsndfile","fixed_in":["1.0.27-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libsndfile","fixed_in":["1.0.25-7ubuntu2.2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libsndfile","fixed_in":["1.0.25-10ubuntu0.16.04.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.27-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.27-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.27-1"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-9.5.mga5"}]}],"bundled":4},{"source":"osv","ecosystem":"Mageia:6","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-3.2.mga6"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-2.19.7.3"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-2.19.7.3"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-2.19.7.3"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-36.7.2"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-7ubuntu2.2+esm1"}]}],"versions":["1.0.25-7ubuntu1","1.0.25-7ubuntu2","1.0.25-7ubuntu2.1","1.0.25-7ubuntu2.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-10ubuntu0.16.04.2"}]}],"versions":["1.0.25-9.1","1.0.25-10","1.0.25-10ubuntu0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-10ubuntu0.16.04.2"}]}],"versions":["1.0.25-9.1","1.0.25-10","1.0.25-10ubuntu0.16.04.1"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-4ubuntu0.18.04.1"}]}],"versions":["1.0.28-4"],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-7ubuntu2.2+esm1"}]}],"versions":["1.0.25-7ubuntu1","1.0.25-7ubuntu2","1.0.25-7ubuntu2.1","1.0.25-7ubuntu2.2"],"bundled":12},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-10ubuntu0.16.04.3"}]}],"versions":["1.0.25-9.1","1.0.25-10","1.0.25-10ubuntu0.16.04.1","1.0.25-10ubuntu0.16.04.2"],"bundled":12}],"products":[{"vendor":"libsndfile_project","product":"libsndfile"}],"references":[{"url":"https://github.com/erikd/libsndfile/issues/341","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4013-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16942"},{"url":"https://usn.ubuntu.com/4013-1"},{"url":"https://github.com/advisories/GHSA-m7qj-97rw-rxp3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-16942","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0236.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22561","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-02/msg00018.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180351-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1038856","tags":["report"]},{"url":"https://bugzilla.suse.com/1059911","tags":["report"]},{"url":"https://bugzilla.suse.com/1059912","tags":["report"]},{"url":"https://bugzilla.suse.com/1059913","tags":["report"]},{"url":"https://bugzilla.suse.com/1069874","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14245","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14246","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14634","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16942","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180352-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1043978","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6892","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-16942","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4013-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4704-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16942","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-6892","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14245","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14246","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14634","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17456","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17457","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-13139","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19432","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19661","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19662","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-19758","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-3832","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12562","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-16942","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.","status":"published","published":"2017-11-25T17:00:00Z","modified":"2024-08-05T20:43:59.531Z","updated_at":"2026-11-02T14:33:21.142987Z"}],"euvd":[{"id":"EUVD-2017-8111","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.","status":"published","published":"2017-11-25T17:00:00Z","modified":"2024-08-05T20:43:59Z","updated_at":"2026-11-03T02:23:11.095005Z"}],"ghsa":[{"id":"GHSA-m7qj-97rw-rxp3","title":"In libsndfile 1.0.25 (fixed in 1.0.26), a divide-by-zero error exists in the function...","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.","status":"published","published":"2022-05-14T00:58:34Z","modified":"2025-04-20T03:50:07Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T15:01:56.152144Z"}],"nvd":[{"id":"CVE-2017-16942","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.","status":"published","published":"2017-11-25T17:29:00.197Z","modified":"2026-06-17T01:10:11.213Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:04:09.7374Z"}],"osv":[{"id":"CVE-2017-16942","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.","status":"published","published":"2017-11-25T17:29:00.197Z","modified":"2026-10-20T10:48:16.268085166Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-16942","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.","status":"published","published":"2017-11-25T17:29:00.197Z","modified":"2026-09-01T20:03:45.403076979Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-16942","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.","status":"published","published":"2017-11-25T00:00:00Z","modified":"2026-04-22T11:19:11.293709Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"MGASA-2018-0236","title":"Updated libsndfile packages fix security vulnerabilities","description":"An out of bounds read in the function d2alaw_array() in alaw.c of\nlibsndfile 1.0.28 may lead to a remote DoS attack or information\ndisclosure, related to mishandling of the NAN and INFINITY\nfloating-point values (CVE-2017-14245).\n\nAn out of bounds read in the function d2ulaw_array() in ulaw.c of\nlibsndfile 1.0.28 may lead to a remote DoS attack or information\ndisclosure, related to mishandling of the NAN and INFINITY\nfloating-point values (CVE-2017-14246).\n\nIn libsndfile 1.0.28, a divide-by-zero error exists in the function\ndouble64_init() in double64.c, which may lead to DoS when playing a\ncrafted audio file (CVE-2017-14634).\n\nDivide-by-zero in the function wav_w64_read_fmt_chunk(), which may lead\nto Denial of service (CVE-2017-16942).\n\nNote that CVE-2017-16942 only affected Mageia 5.\n","status":"published","published":"2018-05-16T08:24:56Z","modified":"2026-04-16T06:24:21.018218781Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"SUSE-SU-2018:0351-1","title":"Recommended update for libsndfile","description":"\n- This update for libsndfile fixes a memory leak in an error path.(bsc#1038856)\n\n- 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)\n- 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)\n- 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 \n                  the NAN and INFINITY floating-point values. (bsc#1059912)\n- 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 \n                  the NAN and INFINITY floating-point values.(bsc#1059913)\n","status":"published","published":"2018-02-02T11:32:57Z","modified":"2026-02-04T02:41:07.759411Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:0352-1","title":"Security update for libsndfile","description":"This update for libsndfile fixes the following issues:\n\n- CVE-2017-16942: Divide-by-zero in the function wav_w64_read_fmt_chunk(), which may lead to Denial of service (bsc#1069874). \n- CVE-2017-6892:  Fixed an out-of-bounds read memory access in the aiff_read_chanmap() (bsc#1043978).\n- 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)\n- 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 \n                  the NAN and INFINITY floating-point values. (bsc#1059912)\n- 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 \n                  the NAN and INFINITY floating-point values.(bsc#1059913)\n","status":"published","published":"2018-02-02T11:33:59Z","modified":"2026-02-04T02:47:11.543323Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"USN-4013-1","title":"libsndfile vulnerabilities","description":"It was discovered that libsndfile incorrectly handled certain malformed\nfiles. A remote attacker could use this issue to cause libsndfile to crash,\nresulting in a denial of service, or possibly execute arbitrary code.\n","status":"published","published":"2019-06-10T14:08:57Z","modified":"2026-04-22T09:56:51.612373Z","updated_at":"2026-11-02T16:58:14.019824Z"},{"id":"USN-4704-1","title":"libsndfile vulnerabilities","description":"It was discovered that libsndfile incorrectly handled certain malformed\nfiles. A remote attacker could use this issue to cause libsndfile to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2017-12562)\n\nIt was discovered that libsndfile incorrectly handled certain malformed\nfiles. A remote attacker could use this issue to cause libsndfile to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-14245,\nCVE-2017-14246, CVE-2017-14634, CVE-2017-16942, CVE-2017-6892,\nCVE-2018-13139, CVE-2018-19432, CVE-2018-19661, CVE-2018-19662,\nCVE-2018-19758, CVE-2019-3832)\n","status":"published","published":"2021-01-26T16:23:13Z","modified":"2026-06-29T13:48:10.007650252Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
