cve.bz

CVE-2021-40426 sound exchange project sound exchange: Heap-based Buffer Overflow

8.8 highExploit referenceEPSS 2.1%

High (8.8) in sound exchange project sound exchange. EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
2.1% (unchanged from 2.1% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-40426 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40426?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40426?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40426 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sound_exchange_project:sound_exchange14.4.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10sox14.4.2+git20190427-1+deb10u1DLA-3315-1
Debian11sox14.4.2+git20190427-2+deb11u1DSA-5356-1
Debian12, 13sox14.4.2+git20190427-3.1DEBIAN-CVE-2021-40426
Ubuntu18.04:LTSsox14.4.2-3ubuntu0.18.04.2UBUNTU-CVE-2021-40426 USN-5904-1
Ubuntu20.04:LTSsox14.4.2+git20190427-2+deb11u1build0.20.04.1UBUNTU-CVE-2021-40426 USN-5904-1
Ubuntu22.04:LTSsox14.4.2+git20190427-2+deb11u1build0.22.04.1UBUNTU-CVE-2021-40426 USN-5904-1
UbuntuPro:14.04:LTSsox14.4.1-3ubuntu1.1+esm2UBUNTU-CVE-2021-40426 USN-5904-1
UbuntuPro:16.04:LTSsox14.4.1-5+deb8u4ubuntu0.1+esm1UBUNTU-CVE-2021-40426 USN-5904-1
SUSEPackage Hub 15 SP4sox14.4.2-bp154.2.3.1openSUSE-SU-2023:0328-1
SUSEPackage Hub 15 SP5sox14.4.2-bp155.3.3.1openSUSE-SU-2023:0329-1
openSUSELeap 15.4sox14.4.2-bp154.2.3.1openSUSE-SU-2023:0328-1
openSUSELeap 15.5sox14.4.2-bp155.3.3.1openSUSE-SU-2023:0329-1
openSUSETumbleweedsox14.4.2-8.1openSUSE-SU-2024:13359-1
Alpinev3.18, v3.19, v3.20 and 4 moresox14.4.2-r10ALPINE-CVE-2021-40426

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6soxOut of support scope
Red Hat Enterprise Linux 7soxOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-40426.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON