Vulnerability · Published Oct 15, 2026 · Assigned by VulnCheck
CVE-2026-111157SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding
Medium 6.1
In plain English
A medium-severity out-of-bounds write in sox from SoX. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.1%top 97.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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().
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | sox | no fix listed | DEBIAN-CVE-2026-111157 |
| Debian:13 | sox | no fix listed | DEBIAN-CVE-2026-111157 |
| Ubuntu:22.04:LTS | sox | no fix listed | UBUNTU-CVE-2026-111157 |
| Ubuntu:24.04:LTS | sox | no fix listed | UBUNTU-CVE-2026-111157 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
References
- https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write technical-description, exploit
- https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166 technical-description
- https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251 technical-description
- https://sourceforge.net/projects/sox/ product
- VulnCheck Advisory: SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding third-party-advisory