{"schemaVersion":3,"id":"CVE-2021-23172","aliases":["UBUNTU-CVE-2021-23172","DEBIAN-CVE-2021-23172"],"status":"published","duplicateOf":null,"title":null,"description":"A 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.","dates":{"published":"2022-08-25T19:36:27.000Z","modified":"2024-08-03T19:05:54.449Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00459,"percentile":0.38763,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.0050000000000000565,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00454},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00459,"percentile":0.38763}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00459,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00459,"percentile":0.38763}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_801D983755F89669","name":"Exploit Reference (sourceforge.net)","source":"reference","url":"https://sourceforge.net/p/sox/bugs/350/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"sox","name":"sox","label":"sox","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sox","purlType":"deb","versions":[{"text":"< 14.4.2+git20190427-3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.4.2+git20190427-3.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sox","name":"sox","label":"sox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sox","purlType":"deb","versions":[{"text":"< 14.4.1-3ubuntu1.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 14.4.1-5+deb8u4ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 14.4.2-3ubuntu0.18.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 14.4.2+git20190427-2+deb11u1build0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 14.4.2+git20190427-2+deb11u1build0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.4.1-3ubuntu1.1+esm2 | < 14.4.1-5+deb8u4ubuntu0.1+esm1 | < 14.4.2-3ubuntu0.18.04.2 | < 14.4.2+git20190427-2+deb11u1build0.20.04.1 | < 14.4.2+git20190427-2+deb11u1build0.22.04.1","eol":null,"hubHref":null},{"vendor":"sound_exchange_project","product":"sound_exchange","name":"sound exchange","label":"sound_exchange","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"14.4.2-7","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.4.2-7","eol":null,"hubHref":"/vendor/sound_exchange_project/sound_exchange"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1975666","label":"bugzilla.redhat.com/show_bug.cgi?id=1975666","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","REPORT","Issue Tracking","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-23172","label":"access.redhat.com/security/cve/CVE-2021-23172","hostname":"access.redhat.com","tags":["X Refsource MISC","REPORT","Third Party Advisory"]},{"url":"https://sourceforge.net/p/sox/bugs/350/","label":"sourceforge.net/p/sox/bugs/350/","hostname":"sourceforge.net","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://security.archlinux.org/CVE-2021-23172","label":"security.archlinux.org/CVE-2021-23172","hostname":"security.archlinux.org","tags":["X Refsource MISC","REPORT","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-23172","label":"ubuntu.com/security/CVE-2021-23172","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5904-1","label":"ubuntu.com/security/notices/USN-5904-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23172","label":"www.cve.org/CVERecord?id=CVE-2021-23172","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-23172","label":"security-tracker.debian.org/tracker/CVE-2021-23172","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3315-1","DSA-5356-1","MGASA-2023-0059","USN-5904-1"],"duplicates":[],"related":["USN-5904-1"]},"timeline":[{"kind":"published","date":"2022-08-25T19:36:27.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T19:05:54.449Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T04:59:19.254Z","stale":false,"partial":false}}