CVE-2026-111157
CVE-2026-111157 · SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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().
CVSS 6.9 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
sox
- Versions
- ≥ 0, ≤ 14.4.2: Affected (semver)
No fix published
sox Debian:12
- Versions
- 14.4.2+git20190427-3.5
- 14.4.2+git20190427-4
- 14.4.2+git20190427-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sox Debian:13
- Versions
- 14.4.2+git20190427-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sox Ubuntu:Pro:14.04:LTS
- Versions
- 14.4.1-3
- 14.4.1-3ubuntu1
- 14.4.1-3ubuntu1.1
- 14.4.1-3ubuntu1.1+esm1
- 14.4.1-3ubuntu1.1+esm2
- 14.4.1-3ubuntu1.1+esm3
- 14.4.1-3ubuntu1.1+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sox Ubuntu:Pro:16.04:LTS
- Versions
- 14.4.1-5
- 14.4.1-5ubuntu0.1
- 14.4.1-5ubuntu0.1+esm1
- 14.4.1-5+deb8u4ubuntu0.1
- 14.4.1-5+deb8u4ubuntu0.1+esm1
- 14.4.1-5+deb8u4ubuntu0.1+esm2
- 14.4.1-5+deb8u4ubuntu0.1+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sox Ubuntu:Pro:18.04:LTS
- Versions
- 14.4.1-5build1
- 14.4.2-2
- 14.4.2-3
- 14.4.2-3ubuntu0.1~esm1
- 14.4.2-3ubuntu0.18.04.1
- 14.4.2-3ubuntu0.18.04.2
- 14.4.2-3ubuntu0.18.04.3
- 14.4.2-3ubuntu0.18.04.3+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sox Ubuntu:20.04:LTS
- Versions
- 14.4.2+git20190427-1build1
- 14.4.2+git20190427-2
- 14.4.2+git20190427-2+deb11u1build0.20.04.1
- 14.4.2+git20190427-2+deb11u2build0.20.04.1
- 14.4.2+git20190427-2+deb11u2ubuntu0.20.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sox Ubuntu:22.04:LTS
- Versions
- 14.4.2+git20190427-2
- 14.4.2+git20190427-2+deb11u1build0.22.04.1
- 14.4.2+git20190427-2+deb11u2build0.22.04.1
- 14.4.2+git20190427-2+deb11u2ubuntu0.22.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sox Ubuntu:24.04:LTS
- Versions
- 14.4.2+git20190427-3.5
- 14.4.2+git20190427-4
- 14.4.2+git20190427-4build2
- 14.4.2+git20190427-4build3
- 14.4.2+git20190427-4build4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write
- https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166
- https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251
- https://sourceforge.net/projects/sox/
- https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding
- https://nvd.nist.gov/vuln/detail/CVE-2026-111157