Vulnerability · Published Apr 14, 2022 · Assigned by talos
CVE-2021-40426
Critical 10.0
In plain English
A critical-severity heap buffer overflow in libsox from Sound Exchange. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)10.0Critical
Exploit odds (30 days)2.1%top 18.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | sox | 14.4.2-r10 | ALPINE-CVE-2021-40426 |
| Alpine:v3.21 | sox | 14.4.2-r10 | ALPINE-CVE-2021-40426 |
| Alpine:v3.22 | sox | 14.4.2-r10 | ALPINE-CVE-2021-40426 |
| Alpine:v3.23 | sox | 14.4.2-r10 | ALPINE-CVE-2021-40426 |
| Alpine:v3.24 | sox | 14.4.2-r10 | ALPINE-CVE-2021-40426 |
| Debian:12 | sox | 14.4.2+git20190427-3.1 | DEBIAN-CVE-2021-40426 |
| Debian:13 | sox | 14.4.2+git20190427-3.1 | DEBIAN-CVE-2021-40426 |
| Ubuntu:22.04:LTS | sox | 14.4.2+git20190427-2+deb11u1build0.22.04.1 | UBUNTU-CVE-2021-40426 |
| Ubuntu:22.04:LTS | sox | 14.4.2+git20190427-2+deb11u1build0.22.04.1 | USN-5904-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Sound Exchange | libsox | 14.4.2master commit 42b3557e |
Weakness: CWE-122 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H