Vulnerability 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().
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/
- https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/
- https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write
- https://sourceforge.net/projects/sox/
- https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write
FAQ
What is CVE-2026-111157?
CVE-2026-111157 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 supp...
How severe is CVE-2026-111157?
CVE-2026-111157 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-111157?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.