{"id":"CVE-2026-111157","aliases":["AZL-109770","DEBIAN-CVE-2026-111157","EUVD-2026-102284","GHSA-c49g-67hx-w7g2","UBUNTU-CVE-2026-111157"],"status":"published","title":"SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding","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().","severity":{"version":"4.0","score":6.9,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00128,"percentile":0.02481,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2026-10-15T18:57:46Z","modified":"2026-11-05T05:36:30Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"14.4.2.0-34"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.4.2+git20190427-3.5","14.4.2+git20190427-4","14.4.2+git20190427-5"]},{"source":"osv","ecosystem":"Debian:13","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.4.2+git20190427-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"sox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]}],"products":[{"vendor":"chris bagwell","product":"sox"},{"vendor":"sox","product":"sox"}],"references":[{"url":"https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","tags":["technical-description","exploit","evidence","report"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166","tags":["technical-description","article","report"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251","tags":["technical-description","article","report"]},{"url":"https://sourceforge.net/projects/sox/","tags":["product","web","report"]},{"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","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111157","tags":["web","advisory"]},{"url":"https://sourceforge.net/projects/sox"},{"url":"https://github.com/advisories/GHSA-c49g-67hx-w7g2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111157.json","tags":["advisory"]},{"url":"https://github.com/chirlu/sox","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-111157","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-111157","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111157","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-111157","title":"SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding","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().","status":"published","published":"2026-10-15T18:57:46.205Z","modified":"2026-10-16T17:10:07.533Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:20:15.34316Z"}],"euvd":[{"id":"EUVD-2026-102284","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().","status":"published","published":"2026-10-15T18:57:46Z","modified":"2026-10-16T17:10:07Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"updated_at":"2026-11-02T17:00:04.71095Z"}],"ghsa":[{"id":"GHSA-c49g-67hx-w7g2","title":"SoX through 14.4.2 contains a heap out-of-bounds write vulnerability in...","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().","status":"published","published":"2026-10-15T21:36:06Z","modified":"2026-10-15T21:36:07Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:13:49.297576Z"}],"nvd":[{"id":"CVE-2026-111157","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().","status":"published","published":"2026-10-15T19:17:30.663Z","modified":"2026-10-16T18:17:35.79Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:12:59.751798Z"}],"osv":[{"id":"CVE-2026-111157","title":"SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding","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().","status":"published","published":"2026-10-15T18:57:46.205Z","modified":"2026-10-28T02:31:08.463964108Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:44:55.61515Z"},{"id":"DEBIAN-CVE-2026-111157","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().","status":"published","published":"2026-10-15T19:17:30.663Z","modified":"2026-10-23T18:04:39.215707252Z","cvss":[{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:45:49.824149Z"},{"id":"UBUNTU-CVE-2026-111157","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().","status":"published","published":"2026-10-15T19:17:00Z","modified":"2026-10-28T17:50:35Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","level":"medium"},{"version":"4.0","score":6.9,"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","level":"medium"}],"updated_at":"2026-11-02T16:55:59.591851Z"},{"id":"AZL-109770","title":"CVE-2026-111157 affecting package sox 14.4.2.0-34","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().","status":"published","published":"2026-10-15T19:17:30Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:18.42484Z"}]}}
