Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-111157 EUVD-2026-102284GHSA-c49g-67hx-w7g2

SoX through 14.4.2 Heap Out-of-Bounds Write via MS ADPCM WAV Decoding

Published Oct 15, 2026 · Updated Oct 16, 2026 · Assigned by VulnCheck

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().

Affected products

VendorProductAffectedFixed
SoX sox ≤ 14.4.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 sox No fix yet —
Debian 12 sox No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS sox No fix yet —
Ubuntu 22.04 LTS sox No fix yet —
Ubuntu 20.04 LTS sox No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS sox No fix yet —
Ubuntu Pro 16.04 LTS sox No fix yet —
Ubuntu Pro 14.04 LTS sox No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 sox No fix yet —

References