CVE-2021-40426: Buffer Overflow

Published Apr 14, 2022
·
Updated

A heap-based buffer overflow vulnerability exists in the sphere.c startread() 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 Software

3 affected componentsFixes available
debian/sox<=14.4.2+git20190427-1
14.4.2+git20190427-1+deb10u314.4.2+git20190427-2+deb11u214.4.2+git20190427-3.5
Libsox Project Libsox=14.4.2
Sound Exchange Project Sound Exchange=14.4.2

Event History

Apr 14, 2022
CVE Published
via MITRE·07:56 PM
Data Sourced
via MITRE·07:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
May 30, 2022
Data Sourced
07:06 PM
SeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-40426?

CVE-2021-40426 is classified as a critical vulnerability due to its potential for exploitation via heap-based buffer overflow.

2

How do I fix CVE-2021-40426?

To fix CVE-2021-40426, update to the patched versions of the affected packages, such as sox 14.4.2+git20190427-2+deb11u2 or later.

3

Which software is affected by CVE-2021-40426?

CVE-2021-40426 affects Sound Exchange libsox versions 14.4.2 and specific Debian packages built on this version.

4

What causes CVE-2021-40426?

CVE-2021-40426 is caused by a heap-based buffer overflow in the start_read() function of sphere.c in the vulnerable software.

5

How can an attacker exploit CVE-2021-40426?

An attacker can exploit CVE-2021-40426 by supplying a specially-crafted file designed to trigger the heap buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203