CVE-2026-111157
SoX through 14.4.2 contains a heap out-of-bounds write …
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().
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166
- github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251
- hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write
- sourceforge.net/projects/sox/
- www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-
- nvd.nist.gov/vuln/detail/CVE-2026-111157
- cve.org/CVERecord?id=CVE-2026-111157
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.