PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2021-23159: 
NixOS vulnerability analysis and mitigation

Overview

A heap buffer overflow vulnerability (CVE-2021-23159) was discovered in SoX (Sound eXchange) software, specifically in the lsx_read_w_buf() function within the formats_i.c file. The vulnerability was reported on June 24, 2021, and affects various versions of the SoX package across multiple Linux distributions (MITRE, Ubuntu).

Technical details

The vulnerability is identified as a heap-based buffer overflow occurring in the lsx_read_w_buf() function at line 376 of formats_i.c. According to the CVSS 3.1 scoring system, it has received a medium severity rating of 5.5. The attack vector is local, with low attack complexity, requiring no privileges but user interaction. The scope is unchanged, with no impact on confidentiality or integrity, but high impact on availability (Ubuntu).

Impact

When successfully exploited, this vulnerability could cause the application to crash through a specially crafted file, potentially leading to a denial of service condition. The impact is primarily focused on availability, with no direct effects on system confidentiality or integrity (MITRE, Debian).

Exploitability

The vulnerability can be triggered through a specially crafted file that targets the heap buffer overflow condition. It requires user interaction to exploit, making it less severe than remotely exploitable vulnerabilities. The local attack vector means an attacker would need local access to the system to exploit this vulnerability (Ubuntu).

Mitigation and workarounds

Multiple Linux distributions have released fixes for this vulnerability. Ubuntu has patched various versions including 22.04 LTS (jammy), 20.04 LTS (focal), and 18.04 LTS (bionic). Debian has also released fixes in versions 14.4.2+git20190427-2+deb11u2 for bullseye and 14.4.2+git20190427-3.5 for bookworm (Ubuntu, Debian).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

sox: 14.4.2-r10

Fixed

v3.18

sox: 14.4.2-r10

Fixed

v3.19

sox: 14.4.2-r10

Fixed

v3.20

sox: 14.4.2-r10

Fixed

v3.21

sox: 14.4.2-r10

Fixed

v3.22

sox: 14.4.2-r10

Fixed

v3.23

sox: 14.4.2-r10

Fixed

Arch Linux

Affected

rolling

sox: 14.4.2-7

Affected

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112940HIGH7.1
  • Python logoPython
  • py3-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112936MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • filelock
NoYesOct 20, 2026

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