CVE-2026-111157
published medium CVSS 4.0 · 6.9SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SoX | — | sox0 through 14.4.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SoX | sox | 0 through 14.4.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
5- 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://hackmd.io/@haind-pwn/sox-wav-ms-adpcm-samplesperblock-oob-write
- https://sourceforge.net/projects/sox/
- VulnCheck Advisory: SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding https://www.vulncheck.com/advisories/sox-through-14.4.2-heap-out-of-bounds-write-via-ms-adpcm-wav-decoding
Provider assertions
2VulnCheck · cna
SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 22e785578328ef8450cf49fad29198a694bf8a9dafb9cc818e83555d24c9fda3
- Ingested
- 16 Oct 2026, 17:19:20 UTC
- Source record
- Official CVE record