{"id":"CVE-2021-23210","aliases":["AZL-43450","AZL-44658","DEBIAN-CVE-2021-23210","DLA-3315-1","DSA-5356-1","EUVD-2021-10315","GHSA-3mv4-6x34-qw3c","MGASA-2023-0059","OESA-2023-1931","UBUNTU-CVE-2021-23210","USN-5904-1"],"status":"published","title":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples()...","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","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.00458,"percentile":0.40179,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-369"],"published":"2022-08-25T19:34:49Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Debian:12","package":"sox","fixed_in":["14.4.2+git20190427-3.2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sox","fixed_in":["14.4.2+git20190427-3.2"],"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":"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.2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2+git20190427-3.2"}]}]},{"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":"openEuler:20.03-LTS-SP1","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-29.oe1"}]}],"bundled":8},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-29.oe1"}]}],"bundled":8},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-29.oe2203sp2"}]}],"bundled":8},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-29.oe2203sp1"}]}],"bundled":8},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14.4.2.0-29.oe2203sp2"}]}],"bundled":8},{"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}],"products":[{"vendor":"sound_exchange_project","product":"sound_exchange"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975670","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-23210","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://sourceforge.net/p/sox/bugs/351/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://security.archlinux.org/CVE-2021-23210","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23210","tags":["web","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/02/03/3"},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00009.html"},{"url":"https://sourceforge.net/p/sox/bugs/351"},{"url":"https://github.com/advisories/GHSA-3mv4-6x34-qw3c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-23210","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://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1931","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23159","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23172","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33844","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26590","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32627","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34318","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34432","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-23210","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5904-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23210","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-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://ubuntu.com/security/CVE-2022-31651","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-23210","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T19:34:49Z","modified":"2024-08-03T19:05:53.898Z","cwes":["CWE-369"],"updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2021-10315","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T19:34:49Z","modified":"2024-08-03T19:05:53Z","updated_at":"2026-11-03T03:25:00.126172Z"}],"ghsa":[{"id":"GHSA-3mv4-6x34-qw3c","title":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples()...","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-26T00:03:30Z","modified":"2025-06-27T21:31: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"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T15:02:51.611786Z"}],"nvd":[{"id":"CVE-2021-23210","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T20:15:09.027Z","modified":"2026-06-17T03:38:25.85Z","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"}],"cwes":["CWE-369"],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"AZL-43450","title":"CVE-2021-23210 affecting package sox 14.4.2.0-34","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T20:15:09Z","modified":"2026-04-21T04:31:00.147779Z","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-44658","title":"CVE-2021-23210 affecting package sox 14.4.2.0-34","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T20:15:09Z","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.107976Z"},{"id":"CVE-2021-23210","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T20:15:09.027Z","modified":"2026-04-16T04:43:43.021941295Z","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:18.367807Z"},{"id":"DEBIAN-CVE-2021-23210","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T20:15:09.027Z","modified":"2026-10-23T18:04:49.345169026Z","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:45:34.637046Z"},{"id":"OESA-2023-1931","title":"sox security update","description":"SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files, and, as an added bonus, SoX can play and record audio files on most platforms.\r\n\r\nSecurity Fix(es):\r\n\r\nA vulnerability was found in SoX, where a heap-buffer-overflow occurs in function lsx_read_w_buf() in formats_i.c file. The vulnerability is exploitable with a crafted file, that could cause an application to crash.(CVE-2021-23159)\r\n\r\nA vulnerability was found in SoX, where a heap-buffer-overflow occurs in function startread() in hcom.c file. The vulnerability is exploitable with a crafted hcomn file, that could cause an application to crash.(CVE-2021-23172)\r\n\r\nA floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.(CVE-2021-23210)\r\n\r\nA floating point exception (divide-by-zero) issue was discovered in SoX in functon startread() of wav.c file. An attacker with a crafted wav file, could cause an application to crash.(CVE-2021-33844)\r\n\r\nA floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite function at sox/src/aiff.c:622:58. This flaw can lead to a denial of service.(CVE-2023-26590)\r\n\r\nA floating point exception vulnerability was found in sox, in the read_samples function at sox/src/voc.c:334:18. This flaw can lead to a denial of service.(CVE-2023-32627)\r\n\r\nA heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34318)\r\n\r\nA heap buffer overflow vulnerability was found in sox, in the lsx_readbuf function at sox/src/formats_i.c:98:16. This flaw can lead to a denial of service, code execution, or information disclosure.(CVE-2023-34432)","status":"published","published":"2023-12-15T11:06:22Z","modified":"2026-08-18T01:18:05.711460904Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:40.71472Z"},{"id":"UBUNTU-CVE-2021-23210","description":"A floating point exception (divide-by-zero) issue was discovered in SoX in functon read_samples() of voc.c file. An attacker with a crafted file, could cause an application to crash.","status":"published","published":"2022-08-25T20:15:00Z","modified":"2026-04-22T12:48:51.034249Z","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:54:26.779273Z"},{"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":"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"}]}}
