CVE-2021-40426: A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange
CVE-2021-40426 is a high-severity flaw (CVSS 8.8) affecting sound exchange. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-40426?
sound exchange: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-40426 being exploited?
CVE-2021-40426 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-40426 affect?
CVE-2021-40426 affects sound exchange. Severity is high (CVSS 8.8). 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
How urgent is CVE-2021-40426?
Priority 56/100. High severity; Public exploit reference
Related CVEs
- CVE-2023-34432 HIGH 7.8 UPGRADE DOWNGRADE A heap buffer overflow vulnerability was found in sox, in the lsx_readbuf function at sox/src/formats_i.c:98:1
- CVE-2023-34318 HIGH 7.8 DOWNGRADE DOWNGRADE A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41
- CVE-2023-32627 MEDIUM 6.2 DOWNGRADE DOWNGRADE A floating point exception vulnerability was found in sox, in the read_samples function at sox/src/voc.c:334:1
- CVE-2023-26590 MEDIUM 6.2 DOWNGRADE DOWNGRADE A floating point exception vulnerability was found in sox, in the lsx_aiffstartwrite function at sox/src/aiff.
- CVE-2022-31651 MEDIUM 5.5 DOWNGRADE In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.