{"id":"CVE-2026-111157","aliases":["CVE-2026-111157"],"related":[],"kind":"vulnerability","state":"published","title":"SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2026-10-15T18:57:46.205Z","modified":"2026-10-16T18:17:35.790Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"14.4.2","status":"affected"}],"vendor":"SoX","product":"sox","repo":"https://github.com/chirlu/sox","source":"cvelist"}],"references":[{"url":"https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://sourceforge.net/projects/sox/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["HaiND from the Post and Telecommunication Institute of Technology"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-16T16:28:13.719Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-111157","url":"https://www.cve.org/CVERecord?id=CVE-2026-111157","licence":"CVE Terms of Use","modified":"2026-10-16T17:10:07.533Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-111157","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111157","licence":"Public domain","modified":"2026-10-16T18:17:35.790Z"}],"updatedAt":"2026-11-25T22:59:44.938Z","epss":{"score":0.00128,"percentile":0.02645,"date":"2026-12-01T12:00:22.000Z"}}