All reports
Medium

sox: an assertion failure in rate_init in rate.c in libsox.a

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-31651

Probability of exploitation in the next 30 days: 1.11%

FIRST EPSS · 2026-11-22

Description

In SoX 14.4.2, there is an assertion failure in rate_init in rate.c in libsox.a.

A heap-based buffer overflow vulnerability exists in the inlsx_aiffstartwrite.environment of the Sound Exchange sox library. A specially-crafted file can lead to a float point exception. This flaw allows an attacker to provide a malicious file to trigger this vulnerability.