{"id":"CVE-2026-111157","title":"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","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…","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","cwe":["CWE-787"],"vendor":"SoX","product":"sox","affected":["sox <= 14.4.2"],"published":"2026-10-15","updated":"2026-10-16","sourceUpdated":"2026-10-16T18:17:35.790","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-111157","references":[{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166","label":"disclosure@vulncheck.com"},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251","label":"disclosure@vulncheck.com"},{"url":"https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","label":"disclosure@vulncheck.com"},{"url":"https://sourceforge.net/projects/sox/","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding","label":"disclosure@vulncheck.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-111157.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-111157"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2553751"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111157"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111157"}],"tags":["nvd","cve.org","csaf","vex","red-hat","exploit-available"],"epss":0.00128,"epssPercentile":0.02422,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T16:28:13.719712Z"},"ingestedAt":"2026-10-15T19:25:46.417Z","slug":"CVE-2026-111157","body":"## Overview\n\nSoX 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().\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-111157.json)","depth":"twilight","depthScore":46,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":223220,"id":"CVE-2026-111157","ts":1792176353246,"field":"exploit_available","old":"false","new":"true"}]}