{"schemaVersion":3,"id":"CVE-2026-111157","aliases":["DEBIAN-CVE-2026-111157","UBUNTU-CVE-2026-111157"],"status":"published","duplicateOf":null,"title":null,"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().","dates":{"published":"2026-10-15T18:57:46.205Z","modified":"2026-10-16T17:10:07.533Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":4.6,"impact":7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":4.6,"impact":7,"computed":true}]},"epss":{"probability":0.0013,"percentile":0.02357,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-16T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0013,"percentile":0.02357}],"last30":[{"date":"2026-10-16T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0013,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0013,"percentile":0.02357}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_9F02623A279AC48E","name":"Exploit Reference (hackmd.io)","source":"reference","url":"https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"sox","name":"sox","label":"sox","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sox","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sox","name":"sox","label":"sox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sox","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"sox","product":"sox","name":"sox","label":"sox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 14.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.4.2","eol":null,"hubHref":"/vendor/sox/sox"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","label":"hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write","hostname":"hackmd.io","tags":["Technical Description","Exploit","REPORT"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c#L144-L166","label":"github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c","hostname":"github.com","tags":["Technical Description","REPORT"]},{"url":"https://github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c#L250-L251","label":"github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c","hostname":"github.com","tags":["Technical Description","REPORT"]},{"url":"https://sourceforge.net/projects/sox/","label":"sourceforge.net/projects/sox/","hostname":"sourceforge.net","tags":["Product","REPORT"]},{"url":"https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding","label":"www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding","hostname":"www.vulncheck.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-111157","label":"security-tracker.debian.org/tracker/CVE-2026-111157","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-111157","label":"ubuntu.com/security/CVE-2026-111157","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-111157","label":"www.cve.org/CVERecord?id=CVE-2026-111157","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-15T18:57:46.205Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-16T17:10:07.533Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:21:05.825Z","stale":false,"partial":false}}