{"id":"CVE-2017-11358","aliases":["DEBIAN-CVE-2017-11358","DLA-1197-1","DLA-1705-1","EUVD-2017-2987","GHSA-x8jm-gv8p-6967","MGASA-2018-0211","UBUNTU-CVE-2017-11358","openSUSE-SU-2018:0489-1","openSUSE-SU-2018:0493-1","openSUSE-SU-2024:11394-1"],"status":"published","title":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to...","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.07401,"percentile":0.94469,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-125"],"published":"2017-07-31T00:00:00Z","modified":"2026-09-01T20:02:40Z","exploits":[{"source":"exploitdb","id":"EDB-42398","title":"Sound eXchange (SoX) 14.4.2 - Multiple Vulnerabilities","type":"dos","platform":"linux","date":"2017-07-31","url":"https://www.exploit-db.com/exploits/42398"}],"fixes":[{"ecosystem":"Debian:12","package":"sox","fixed_in":["14.4.2-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sox","fixed_in":["14.4.2-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"sox","fixed_in":["14.4.1-3ubuntu1.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"sox","fixed_in":["14.4.1-5ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-2"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.0-3+deb7u2"}]}],"versions":["14.4.0-3","14.4.0-3+deb7u1"],"bundled":9},{"source":"osv","ecosystem":"Debian:8","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5+deb8u3"}]}],"versions":["14.4.1-5","14.4.1-5+deb8u1","14.4.1-5+deb8u2"],"bundled":4},{"source":"osv","ecosystem":"Mageia:5","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-6.3.mga5"}]}],"bundled":6},{"source":"osv","ecosystem":"Mageia:6","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-7.3.mga6"}]}],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-3ubuntu1.1"}]}],"versions":["14.4.1-3","14.4.1-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5ubuntu0.1"}]}],"versions":["14.4.1-5"]},{"source":"osv","ecosystem":"SUSE:Package Hub 12 SP3","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-5.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Package Hub 12 SP3","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-5.1"}]}],"bundled":8},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-5.17"}]}],"bundled":8}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"sound_exchange_project","product":"sound_exchange"}],"references":[{"url":"https://www.exploit-db.com/exploits/42398/","tags":["exploit","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/11/msg00043.html","tags":["mailing-list","x_transferred","Third Party Advisory","advisory"]},{"url":"http://seclists.org/fulldisclosure/2017/Jul/81","tags":["x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","report"]},{"url":"https://security.gentoo.org/glsa/201810-02","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00007.html","tags":["mailing-list","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/03/3","tags":["mailing-list","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/04/2","tags":["mailing-list","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/05/1","tags":["mailing-list","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/06/1","tags":["mailing-list","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-11358"},{"url":"https://www.exploit-db.com/exploits/42398"},{"url":"https://github.com/advisories/GHSA-x8jm-gv8p-6967"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-11358","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0211.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22615","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11358","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-11358","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1063439","tags":["report"]},{"url":"https://bugzilla.suse.com/1063450","tags":["report"]},{"url":"https://bugzilla.suse.com/1063456","tags":["report"]},{"url":"https://bugzilla.suse.com/1064576","tags":["report"]},{"url":"https://bugzilla.suse.com/1081140","tags":["report"]},{"url":"https://bugzilla.suse.com/1081141","tags":["report"]},{"url":"https://bugzilla.suse.com/1081142","tags":["report"]},{"url":"https://bugzilla.suse.com/1081146","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11332","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11358","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11359","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15370","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15371","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15372","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15642","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18189","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-11358","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","status":"published","published":"2017-07-31T00:00:00Z","modified":"2024-08-05T18:05:30.571Z","updated_at":"2026-11-02T14:33:20.171335Z"}],"euvd":[{"id":"EUVD-2017-2987","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","status":"published","published":"2017-07-31T00:00:00Z","modified":"2024-08-05T18:05:30Z","updated_at":"2026-11-03T02:23:24.20034Z"}],"ghsa":[{"id":"GHSA-x8jm-gv8p-6967","title":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to...","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","status":"published","published":"2022-05-14T01:27:34Z","modified":"2025-04-20T03:42:42Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:01:50.044707Z"}],"nvd":[{"id":"CVE-2017-11358","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","status":"published","published":"2017-07-31T13:29:01.033Z","modified":"2026-06-17T01:01:41.387Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/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-125"],"updated_at":"2026-11-02T14:03:54.862898Z"}],"osv":[{"id":"CVE-2017-11358","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","status":"published","published":"2017-07-31T13:29:01.033Z","modified":"2026-04-16T06:17:36.368817057Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:03.851821Z"},{"id":"DEBIAN-CVE-2017-11358","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","status":"published","published":"2017-07-31T13:29:01.033Z","modified":"2026-09-01T20:02:40.31010833Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:28.50097Z"},{"id":"UBUNTU-CVE-2017-11358","description":"The read_samples function in hcom.c in Sound eXchange (SoX) 14.4.2 allows remote attackers to cause a denial of service (invalid memory read and application crash) via a crafted hcom file.","status":"published","published":"2017-07-31T13:29:00Z","modified":"2026-04-22T11:10:06.266624Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:13.729565Z"},{"id":"DLA-1197-1","title":"sox - security update","status":"published","published":"2017-11-30T00:00:00Z","modified":"2026-03-09T01:01:13.355936Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DLA-1705-1","title":"sox - security update","status":"published","published":"2019-03-05T00:00:00Z","modified":"2026-03-09T01:19:13.70135Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"MGASA-2018-0211","title":"Updated sox packages fix security vulnerabilities","description":"This update for sox fixes the following security issues:\n\n* CVE-2017-11332: Fixed the startread function in wav.c, which allowed\nremote attackers to cause a DoS (divide-by-zero) via a crafted wav file.\n* CVE-2017-11358: Fixed the read_samples function in hcom.c, which\nallowed remote attackers to cause a DoS (invalid memory read) via a\ncrafted hcom file.\n* CVE-2017-11359: Fixed the wavwritehdr function in wav.c, which allowed\nremote attackers to cause a DoS (divide-by-zero) when converting a a\ncrafted snd file to a wav file.\n* CVE-2017-15372: Fixed a stack-based buffer overflow in the\nlsx_ms_adpcm_block_expand_i function of adpcm.c, which allowed remote\nattackers to cause a DoS during conversion of a crafted audio file.\n* CVE-2017-15642: Fixed an Use-After-Free vulnerability in\nlsx_aiffstartread in aiff.c, which could be triggered by an attacker by\nproviding a malformed AIFF file.\n* CVE-2017-18189: In the startread function in xa.c in Sound eXchange\n(SoX) through 14.4.2, a corrupt header specifying zero channels triggers\nan infinite loop with a resultant NULL pointer dereference, which may\nallow a remote attacker to cause a denial-of-service. \n","status":"published","published":"2018-04-30T19:08:07Z","modified":"2026-04-16T06:23:36.800643234Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2018:0489-1","title":"Security update for sox","description":"This update for sox fixes the following issues:\n\n* CVE-2017-11332: Fixed the startread function in wav.c, which allowed\n  remote attackers to cause a DoS (divide-by-zero) via a crafted wav file.\n  (boo#1081140)\n* CVE-2017-11358: Fixed the read_samples function in hcom.c, which\n  allowed remote attackers to cause a DoS (invalid memory read) via a crafted\n  hcom file. (boo#1081141)\n* CVE-2017-11359: Fixed the wavwritehdr function in wav.c, which\n  allowed remote attackers to cause a DoS (divide-by-zero) when converting a\n  a crafted snd file to a wav file. (boo#1081142)\n* CVE-2017-15370: Fixed a heap-based buffer overflow in the ImaExpandS\n  function of ima_rw.c, which allowed remote attackers to cause a DoS during\n  conversion of a crafted audio file. (boo#1063439)\n* CVE-2017-15371: Fixed an assertion abort in the function\n  sox_append_comment() in formats.c, which allowed remote attackers to cause\n  a DoS during conversion of a crafted audio file. (boo#1063450)\n* CVE-2017-15372: Fixed a stack-based buffer overflow in the\n  lsx_ms_adpcm_block_expand_i function of adpcm.c, which allowed remote\n  attackers to cause a DoS during conversion of a crafted audio file.\n  (boo#1063456)\n* CVE-2017-15642: Fixed an Use-After-Free vulnerability in\n  lsx_aiffstartread in aiff.c, which could be triggered by an attacker by\n  providing a malformed AIFF file. (boo#1064576)\n* CVE-2017-18189: Fixed a NULL pointer dereference triggered by a\n  corrupt header specifying zero channels in the startread function in\n  xa.c, which allowed remote attackers to cause a DoS (boo#1081146).\n\n","status":"published","published":"2018-02-20T12:28:13Z","modified":"2026-02-04T02:50:21.896758Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2018:0493-1","title":"Security update for sox","description":"This update for sox fixes the following issues:\n\n* CVE-2017-11332: Fixed the startread function in wav.c, which allowed\n  remote attackers to cause a DoS (divide-by-zero) via a crafted wav file.\n  (boo#1081140)\n* CVE-2017-11358: Fixed the read_samples function in hcom.c, which\n  allowed remote attackers to cause a DoS (invalid memory read) via a crafted\n  hcom file. (boo#1081141)\n* CVE-2017-11359: Fixed the wavwritehdr function in wav.c, which\n  allowed remote attackers to cause a DoS (divide-by-zero) when converting a\n  a crafted snd file to a wav file. (boo#1081142)\n* CVE-2017-15370: Fixed a heap-based buffer overflow in the ImaExpandS\n  function of ima_rw.c, which allowed remote attackers to cause a DoS during\n  conversion of a crafted audio file. (boo#1063439)\n* CVE-2017-15371: Fixed an assertion abort in the function\n  sox_append_comment() in formats.c, which allowed remote attackers to cause\n  a DoS during conversion of a crafted audio file. (boo#1063450)\n* CVE-2017-15372: Fixed a stack-based buffer overflow in the\n  lsx_ms_adpcm_block_expand_i function of adpcm.c, which allowed remote\n  attackers to cause a DoS during conversion of a crafted audio file.\n  (boo#1063456)\n* CVE-2017-15642: Fixed an Use-After-Free vulnerability in\n  lsx_aiffstartread in aiff.c, which could be triggered by an attacker by\n  providing a malformed AIFF file. (boo#1064576)\n* CVE-2017-18189: Fixed a NULL pointer dereference triggered by a\n  corrupt header specifying zero channels in the startread function in\n  xa.c, which allowed remote attackers to cause a DoS (boo#1081146).\n\n","status":"published","published":"2018-02-20T12:28:13Z","modified":"2026-02-04T04:31:50.468994Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2024:11394-1","title":"libsox3-14.4.2-5.17 on GA media","description":"These are all security issues fixed in the libsox3-14.4.2-5.17 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:33:22.625725Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
