CVE-2026-111157SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding
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().
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | sox | Under investigation | UBUNTU-CVE-2026-111157 | |
| Ubuntu 22.04 | sox | Under investigation | UBUNTU-CVE-2026-111157 | |
| Ubuntu 20.04 | sox | Fix pending | UBUNTU-CVE-2026-111157 | |
| Ubuntu 18.04 | sox | Fix pending | UBUNTU-CVE-2026-111157 | |
| Ubuntu 16.04 | sox | Fix pending | UBUNTU-CVE-2026-111157 | |
| Ubuntu 14.04 | sox | Fix pending | UBUNTU-CVE-2026-111157 | |
| Debian 13 | sox | Fix pending | DEBIAN-CVE-2026-111157 | |
| Debian 12 | sox | Fix pending | DEBIAN-CVE-2026-111157 | |
| Red Hat Enterprise Linux 7 | sox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | sox-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | sox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | sox-devel | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sox: affected: up to 14.4.2
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.