Description
SoX through 14.4.2 contains a heap out-of-bounds write vulnerability in lsx_ms_adpcm_block_expand_i() in src/adpcm.c, triggered by an odd samplesPerBlock value in the WAV fmt chunk. Attackers can supply a crafted MS ADPCM WAV file to sox or any libsox consumer to write a partially controlled 16-bit sample past the heap buffer allocated by wav_ms_adpcm_fmt().
Published: 2026-10-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary memory write potential code execution
Action: Apply Patch
AI Analysis

Impact

SoX up to version 14.4.2 contains a heap out‑of‑bounds write in the function lsx_ms_adpcm_block_expand_i(), triggered by a crafted MS ADPCM WAV file with an odd samplesPerBlock value. The write allows an attacker to place a partially controlled 16‑bit sample beyond the heap buffer allocated by wav_ms_adpcm_fmt(), potentially corrupting memory and leading to arbitrary code execution or denial of service if the vector is exercised by a user or application that processes the file.

Affected Systems

SoX version 14.4.2 and all earlier releases are affected, and any application or library that uses libsox to read MS ADPCM WAV files is also vulnerable. The issue is specific to the MS ADPCM implementation and does not affect other WAV formats or newer SoX releases that have removed or patched the overflow.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity; no EPSS value is available, so the likelihood of exploitation is uncertain, and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw by supplying a malicious WAV file to any instance of sox or libsox running with privileges sufficient to write to memory, so the risk is highest when the software runs under administrative or system service accounts. Due to the lack of an official patch in the public release, immediate mitigation steps are required to reduce exposure.

Generated by OpenCVE AI on October 16, 2026 at 06:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest SoX release (e.g., 14.4.3 or higher) where the heap overflow has been fixed.
  • If an upgrade is not feasible, configure the environment to reject or sanitize MS ADPCM WAV files with odd samplesPerBlock values, or disable MS ADPCM support entirely.
  • Run sox or any libsox consumer in a sandboxed or least‑privileged context to limit the impact of a potential exploit.

Generated by OpenCVE AI on October 16, 2026 at 06:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Sox
Sox sox
Vendors & Products Sox
Sox sox

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description SoX through 14.4.2 contains a heap out-of-bounds write vulnerability in lsx_ms_adpcm_block_expand_i() in src/adpcm.c, triggered by an odd samplesPerBlock value in the WAV fmt chunk. Attackers can supply a crafted MS ADPCM WAV file to sox or any libsox consumer to write a partially controlled 16-bit sample past the heap buffer allocated by wav_ms_adpcm_fmt().
Title SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-16T17:10:07.533Z

Reserved: 2026-10-15T17:04:02.354Z

Link: CVE-2026-111157

cve-icon Vulnrichment

Updated: 2026-10-16T16:28:15.018Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-15T19:17:30.663

Modified: 2026-10-16T18:17:35.790

Link: CVE-2026-111157

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-15T18:57:46Z

Links: CVE-2026-111157 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T13:15:08Z

Weaknesses