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

EcosystemPackageFixed inAdvisory
Alpine:v3.20sox14.4.2-r10ALPINE-CVE-2021-40426
Alpine:v3.21sox14.4.2-r10ALPINE-CVE-2021-40426
Alpine:v3.22sox14.4.2-r10ALPINE-CVE-2021-40426
Alpine:v3.23sox14.4.2-r10ALPINE-CVE-2021-40426
Alpine:v3.24sox14.4.2-r10ALPINE-CVE-2021-40426
Debian:12sox14.4.2+git20190427-3.1DEBIAN-CVE-2021-40426
Debian:13sox14.4.2+git20190427-3.1DEBIAN-CVE-2021-40426
Ubuntu:22.04:LTSsox14.4.2+git20190427-2+deb11u1build0.22.04.1UBUNTU-CVE-2021-40426
Ubuntu:22.04:LTSsox14.4.2+git20190427-2+deb11u1build0.22.04.1USN-5904-1

Affected products (as reported)

VendorProductVersions
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

References