Buffer overflow in Sox
CVE-2026-111157
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().
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write (technical-description, exploit)
- github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/adpcm.c (technical-description)
- github.com/chirlu/sox/blob/42b3557e13e0fe01a83465b672d89faddbe65f49/src/wav.c (technical-description)
- sourceforge.net/projects/sox/ (product)
- www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-111157?
- CVE-2026-111157 is a medium-severity vulnerability in Sox, classified under Out-of-bounds Write. CVSS score: 6.1/10. Published 2026-10-15.
- How severe is CVE-2026-111157?
- Medium severity. CVSS v3 base score is 6.1 out of 10.