{"id":"CVE-2026-111157","state":"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().","publishedAt":"2026-10-15T18:57:46.205Z","updatedAt":"2026-10-16T17:10:07.533Z","severity":{"score":6.9,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["SoX sox"],"affected":[{"vendor":"SoX","product":"sox","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"14.4.2","versionType":"semver"}],"collectionURL":"https://sourceforge.net/projects/sox/","repo":"https://github.com/chirlu/sox"}],"references":["https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166","https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251","https://sourceforge.net/projects/sox/","https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/111xxx/CVE-2026-111157.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-111157","state":"PUBLISHED","datePublished":"2026-10-15T18:57:46.205Z","dateUpdated":"2026-10-16T17:10:07.533Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-15T17:04:02.354Z"},"containers":{"cna":{"title":"SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding","descriptions":[{"lang":"en","value":"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()."}],"affected":[{"vendor":"SoX","product":"sox","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"14.4.2","versionType":"semver"}],"collectionURL":"https://sourceforge.net/projects/sox/","repo":"https://github.com/chirlu/sox"}],"references":[{"url":"https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","tags":["technical-description","exploit"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166","tags":["technical-description"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251","tags":["technical-description"]},{"url":"https://sourceforge.net/projects/sox/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding","name":"VulnCheck Advisory: SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-15T18:57:46.205Z"},"datePublic":"2026-10-15T00:00:00.000Z","credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T16:28:13.719712Z","id":"CVE-2026-111157","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T17:10:07.533Z"}}]}}}