{"id":"CVE-2022-31651","aliases":["ALPINE-CVE-2022-31651","AZL-43648","AZL-45120","DEBIAN-CVE-2022-31651","DLA-3315-1","DSA-5356-1","EUVD-2022-53087","GHSA-56vf-qhhq-rrc2","MGASA-2023-0059","UBUNTU-CVE-2022-31651","USN-5904-1","openSUSE-SU-2023:0328-1","openSUSE-SU-2023:0329-1","openSUSE-SU-2024:13359-1"],"status":"published","title":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/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-12","score":0.01114,"percentile":0.66476,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-617"],"published":"2022-05-25T00:00:00Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Alpine:v3.18","package":"sox","fixed_in":["14.4.2-r10"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"sox","fixed_in":["14.4.2-r10"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"sox","fixed_in":["14.4.2-r10"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"sox","fixed_in":["14.4.2-r10"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"sox","fixed_in":["14.4.2-r10"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"sox","fixed_in":["14.4.2-r10"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"sox","fixed_in":["14.4.2-r10"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"sox","fixed_in":["14.4.2+git20190427-3.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sox","fixed_in":["14.4.2+git20190427-3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sox","fixed_in":["14.4.1-3ubuntu1.1+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"sox","fixed_in":["14.4.1-5+deb8u4ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"sox","fixed_in":["14.4.2-3ubuntu0.18.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"sox","fixed_in":["14.4.2+git20190427-2+deb11u1build0.20.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"sox","fixed_in":["14.4.2+git20190427-2+deb11u1build0.22.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.18","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r10"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r10"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r10"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r10"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r10"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r10"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-r10"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"14.4.2.0-34"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"14.4.2.0-34"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-3.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-3.1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-1+deb10u1"}]}],"versions":["14.4.2+git20190427-1"],"bundled":9},{"source":"osv","ecosystem":"Debian:11","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-2+deb11u1"}]}],"versions":["14.4.2+git20190427-2"],"bundled":8},{"source":"osv","ecosystem":"Mageia:8","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.3-0.git20200117.3.1.mga8"}]}],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-3ubuntu1.1+esm2"}]}],"versions":["14.4.1-3","14.4.1-3ubuntu1","14.4.1-3ubuntu1.1","14.4.1-3ubuntu1.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5+deb8u4ubuntu0.1+esm1"}]}],"versions":["14.4.1-5","14.4.1-5ubuntu0.1","14.4.1-5ubuntu0.1+esm1","14.4.1-5+deb8u4ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-3ubuntu0.18.04.2"}]}],"versions":["14.4.1-5build1","14.4.2-2","14.4.2-3","14.4.2-3ubuntu0.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-2+deb11u1build0.20.04.1"}]}],"versions":["14.4.2+git20190427-1build1","14.4.2+git20190427-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-2+deb11u1build0.22.04.1"}]}],"versions":["14.4.2+git20190427-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.4.2+git20190427-3.5","14.4.2+git20190427-4","14.4.2+git20190427-4build2","14.4.2+git20190427-4build3","14.4.2+git20190427-4build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.4.2+git20190427-5build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-3ubuntu1.1+esm2"}]}],"versions":["14.4.1-3","14.4.1-3ubuntu1","14.4.1-3ubuntu1.1","14.4.1-3ubuntu1.1+esm1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.1-5+deb8u4ubuntu0.1+esm1"}]}],"versions":["14.4.1-5","14.4.1-5ubuntu0.1","14.4.1-5ubuntu0.1+esm1","14.4.1-5+deb8u4ubuntu0.1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-3ubuntu0.18.04.2"}]}],"versions":["14.4.1-5build1","14.4.2-2","14.4.2-3","14.4.2-3ubuntu0.18.04.1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-2+deb11u1build0.20.04.1"}]}],"versions":["14.4.2+git20190427-1build1","14.4.2+git20190427-2"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-2+deb11u1build0.22.04.1"}]}],"versions":["14.4.2+git20190427-2"],"bundled":9},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-bp154.2.3.1"}]}],"bundled":10},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-bp154.2.3.1"}]}],"bundled":10},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP5","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-bp155.3.3.1"}]}],"bundled":10},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-bp155.3.3.1"}]}],"bundled":10},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2-8.1"}]}],"bundled":9}],"products":[{"vendor":"sound_exchange_project","product":"sound_exchange"}],"references":[{"url":"https://sourceforge.net/p/sox/bugs/360/","tags":["x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/03/3","tags":["mailing-list","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00009.html","tags":["mailing-list","x_transferred","web"]},{"url":"https://www.debian.org/security/2023/dsa-5356","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31651","tags":["web"]},{"url":"https://sourceforge.net/p/sox/bugs/360"},{"url":"https://github.com/advisories/GHSA-56vf-qhhq-rrc2"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-31651","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-31651","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0059.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30291","tags":["report"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2021-1434","tags":["web"]},{"url":"https://www.debian.org/lts/security/2023/dla-3315","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-31651","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5904-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31651","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-13590","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-3643","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-23159","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-23172","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-23210","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-33844","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-40426","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-31650","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/E6JOTRIOEMXEYXNHM2HOXMVP2MMLL3Y6/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1212060","tags":["report"]},{"url":"https://bugzilla.suse.com/1212061","tags":["report"]},{"url":"https://bugzilla.suse.com/1212062","tags":["report"]},{"url":"https://bugzilla.suse.com/1212063","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13590","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-23159","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-33844","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3643","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-40426","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-31650","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-31651","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-32627","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-34318","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-34432","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/OWH3Y6RJSLCAZ7XAIEM2FMD5E6EQYZM5/","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-31651","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T00:00:00Z","modified":"2024-08-03T07:26:00.878Z","updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-53087","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T00:00:00Z","modified":"2024-08-03T07:26:00Z","updated_at":"2026-11-03T03:25:33.60677Z"}],"ghsa":[{"id":"GHSA-56vf-qhhq-rrc2","title":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-26T00:01:05Z","modified":"2025-06-27T21:31:30Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-617"],"updated_at":"2026-11-02T15:02:51.611786Z"}],"nvd":[{"id":"CVE-2022-31651","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T23:15:07.833Z","modified":"2026-06-17T04:45:58.827Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/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-617"],"updated_at":"2026-11-02T14:07:21.261605Z"}],"osv":[{"id":"ALPINE-CVE-2022-31651","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T23:15:07.833Z","modified":"2026-11-03T07:31:25.773202353Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"AZL-43648","title":"CVE-2022-31651 affecting package sox 14.4.2.0-34","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T23:15:07Z","modified":"2026-04-21T04:31:05.567626Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:05.284713Z"},{"id":"AZL-45120","title":"CVE-2022-31651 affecting package sox 14.4.2.0-34","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T23:15:07Z","modified":"2026-11-05T05:36:30Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-05T16:41:20.321068Z"},{"id":"CVE-2022-31651","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T23:15:07.833Z","modified":"2026-04-16T04:30:19.463385852Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"UBUNTU-CVE-2022-31651","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T23:15:00Z","modified":"2026-04-22T13:23:13.043475Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"DEBIAN-CVE-2022-31651","description":"In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.","status":"published","published":"2022-05-25T23:15:07.833Z","modified":"2026-11-03T06:02:32.663313451Z","updated_at":"2026-11-03T06:44:05.456691Z"},{"id":"DLA-3315-1","title":"sox - security update","status":"published","published":"2023-02-10T00:00:00Z","modified":"2026-03-09T01:21:07.317355Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"DSA-5356-1","title":"sox - security update","status":"published","published":"2023-02-20T00:00:00Z","modified":"2026-03-09T02:10:43.440945Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"MGASA-2023-0059","title":"Updated sox packages fix security vulnerability","description":"CVE-2019-13590: sox-fmt validation\nCVE-2021-3643 and CVE-2021-23210: voc validation\nCVE-2021-23159 and CVE-2021-23172: hcom validation\nCVE-2021-33844: wav validation\nCVE-2021-40426: sphere validation\nCVE-2022-31650: aiff validation\nCVE-2022-31651: reject implausible rate\n","status":"published","published":"2023-02-27T20:27:16Z","modified":"2026-04-16T04:41:10.07651997Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"openSUSE-SU-2023:0328-1","title":"Security update for sox","description":"This update for sox fixes the following issues:\n\n- Apply various fix patches taken from Debian package;\n  it fixes also other entries (CVE-2022-31650 boo#1212060\n  CVE-2023-34318 boo#1212062 CVE-2023-34432 boo#1212063)\n- Fix floating point exception in src/voc.c (CVE-2023-32627 boo#1212061)\n","status":"published","published":"2023-10-26T11:49:05Z","modified":"2026-02-04T02:25:26.154702Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2023:0329-1","title":"Security update for sox","description":"This update for sox fixes the following issues:\n\n- Apply various fix patches taken from Debian package;\n  it fixes also other entries (CVE-2022-31650 boo#1212060\n  CVE-2023-34318 boo#1212062 CVE-2023-34432 boo#1212063)\n- Fix floating point exception in src/voc.c (CVE-2023-32627 boo#1212061)\n","status":"published","published":"2023-10-26T11:49:08Z","modified":"2026-02-04T02:49:52.692278Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:13359-1","title":"libsox3-14.4.2-8.1 on GA media","description":"These are all security issues fixed in the libsox3-14.4.2-8.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:26:05.959316Z","updated_at":"2026-11-02T16:58:36.327643Z"},{"id":"USN-5904-1","title":"sox vulnerabilities","description":"Helmut Grohne discovered that SoX incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM,\nand Ubuntu 18.04 LTS. (CVE-2019-13590)\n\nHelmut Grohne discovered that SoX incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service. (CVE-2021-23159, CVE-2021-23172, CVE-2021-23210,\nCVE-2021-33844, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, and\nCVE-2022-31651)\n","status":"published","published":"2023-03-02T11:42:50Z","modified":"2026-06-29T13:50:47.992066848Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
