# CVE-2021-40426: A heap-based buffer overflow vulnerability exists in the sphere.c startread() functionality of Sound Exchange libsox 14.4.2 and master comm…

- Severity: Critical 10.0 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.05%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-14T19:56:21.568Z
- Modified: 2026-06-17T04:06:54.807Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: talos

## Description

A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

(As written by CVE List.)

## Affected

- Sound Exchange libsox: 14.4.2; master commit 42b3557e
- sound_exchange_project sound_exchange: 14.4.2

## Every score

- talos: CVSS:3.0 10.0 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1434> (exploit, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2023/02/03/3> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2023/02/msg00009.html> (mailing-list)
- <https://www.debian.org/security/2023/dsa-5356> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-40426](https://www.cve.org/CVERecord?id=CVE-2021-40426), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2021-40426](https://nvd.nist.gov/vuln/detail/CVE-2021-40426), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40426 · Whole record: https://cve.day/CVE-2021-40426.json · Rebuilt by cve.day 2026-11-25T22:58:07.384Z
