Buffer Overflow Affecting sox package, versions <0:14.4.1-7.amzn2.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-SOX-11445280
  • published5 Aug 2025
  • disclosed25 Aug 2022

Introduced: 25 Aug 2022

CVE-2021-23159  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 sox to version 0:14.4.1-7.amzn2.0.2 or higher.
This issue was patched in ALAS2-2023-2231.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sox package and not the sox package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A vulnerability was found in SoX, where a heap-buffer-overflow occurs in function lsx_read_w_buf() in formats_i.c file. The vulnerability is exploitable with a crafted file, that could cause an application to crash.

CVSS Base Scores

version 3.1