CVE-2021-40426
Linux Debian vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability exists in the sphere.c startread() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. The vulnerability was discovered in 2021 and disclosed on March 23, 2022. The vulnerability affects the Sound Exchange (SoX) library, which is a cross-platform audio processing tool ([Talos Intelligence](https://talosintelligence.com/vulnerabilityreports/TALOS-2021-1434)).

Technical details

The vulnerability occurs in the sphere.c file's startread() function when processing NIST Speech Header Resources (SPHERE) file format. Due to an off-by-one error in the lsxreads function and improper size calculations, a specially crafted file can trigger a heap buffer overflow. The vulnerability has been assigned a CVSS v3.0 score of 10.0 (CRITICAL) with vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H. The issue is classified as CWE-122 (Heap-based Buffer Overflow) (Talos Intelligence).

Impact

If successfully exploited, this vulnerability could allow an attacker to cause a heap buffer overflow by providing a malicious file. This could potentially lead to arbitrary code execution, information disclosure, or system crashes (NVD, Ubuntu).

Mitigation and workarounds

Multiple Linux distributions have released patches to address this vulnerability. Ubuntu has fixed the issue in various versions: 22.10 (14.4.2+git20190427-3ubuntu0.1), 22.04 LTS (14.4.2+git20190427-2+deb11u1build0.22.04.1), 20.04 LTS (14.4.2+git20190427-2+deb11u1build0.20.04.1), and 18.04 LTS (14.4.2-3ubuntu0.18.04.2). Debian has also released fixes in version 14.4.2+git20190427-1+deb10u1 (Ubuntu, Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • DockerDocker
  • golang-1.19
NoYesDec 02, 2025
CVE-2025-64460HIGH7.5
  • Linux DebianLinux Debian
  • python-django
NoYesDec 02, 2025
CVE-2025-65187MEDIUM6.1
  • Linux DebianLinux Debian
  • civicrm
NoNoDec 02, 2025
CVE-2025-65105MEDIUM4.5
  • Linux DebianLinux Debian
  • github.com/apptainer/apptainer
NoYesDec 02, 2025
CVE-2025-13372MEDIUM4.3
  • Linux DebianLinux Debian
  • py3-django
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management