PT-2022-6475 · Sox+4 · Sox+4

Published

2022-04-14

·

Updated

2025-06-24

·

CVE-2021-40426

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SoX versions 14.4.2 and earlier
Description The issue is related to a heap-based buffer overflow in the start read() function of the Sound Exchange libsox. This can be triggered by a specially-crafted file, potentially allowing a remote attacker to access sensitive data, compromise its integrity, and cause a denial of service.
Recommendations For SoX version 14.4.2, consider disabling the start read() function until a patch is available to prevent exploitation. For versions prior to 14.4.2, restrict access to the sphere.c module to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Corruption

Heap Based Buffer Overflow

Weakness Enumeration

Related Identifiers

ALT-PU-2024-6289
ALT-PU-2024-6378
ALT-PU-2024-6855
ALT-PU-2024-6966
BDU:2023-01700
CVE-2021-40426
DLA-3315-1
DLA-3315-2
DSA-5356-1
DSA-5356-2
MGASA-2023-0059
OPENSUSE-SU-2023:0328-1
OPENSUSE-SU-2023:0329-1
OPENSUSE-SU-2024:13359-1
USN-5904-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Sox
Ubuntu