CVEfocus › CVE database › CVE-2021-40426

CVE-2021-40426

CVSS 10.0 CriticalEPSS 2.1% (higher than 82% of CVEs)Published 2022-04-14Updated 2025-04-15Assigner: talos

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.

CWE-122

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
2Fix pending
4Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04soxNot affected
vulnerable_code_not_present
Ubuntu 22.04soxFixed14.4.2+git20190427-2+deb11u1build0.22.04.1UBUNTU-CVE-2021-40426
Ubuntu 20.04soxFixed14.4.2+git20190427-2+deb11u1build0.20.04.1UBUNTU-CVE-2021-40426
Ubuntu 18.04soxFixed14.4.2-3ubuntu0.18.04.2UBUNTU-CVE-2021-40426
Ubuntu 16.04soxFix pending14.4.1-5+deb8u4ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-40426
Ubuntu 14.04soxFix pending14.4.1-3ubuntu1.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-40426
Debian 13soxFixed14.4.2+git20190427-3.1DEBIAN-CVE-2021-40426
Debian 12soxFixed14.4.2+git20190427-3.1DEBIAN-CVE-2021-40426
Red Hat Enterprise Linux 7soxWill not fix
Out of support scope
Red Hat Enterprise Linux 7sox-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6soxWill not fix
Out of support scope
Red Hat Enterprise Linux 6sox-develWill not fix
Out of support scope
Alpine Linux 3.24soxFixed14.4.2-r10ALPINE-CVE-2021-40426
Alpine Linux 3.23soxFixed14.4.2-r10ALPINE-CVE-2021-40426
Alpine Linux 3.22soxFixed14.4.2-r10ALPINE-CVE-2021-40426
Alpine Linux 3.21soxFixed14.4.2-r10ALPINE-CVE-2021-40426
Alpine Linux 3.20soxFixed14.4.2-r10ALPINE-CVE-2021-40426
Alpine Linux 3.19soxFixed14.4.2-r10ALPINE-CVE-2021-40426
Alpine Linux 3.18soxFixed14.4.2-r10ALPINE-CVE-2021-40426

What the vendor says

As published in the CVE record by talos, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.