Skip to content
OpenAdvisories
High · 7.3 CVE-2026-29022 EUVD-2026-9315GHSA-38j9-4vcr-j8qh

mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File

Published Mar 3, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

Description

dr_libs dr_wav.h version 0.14.4 and earlier (fixed in commit 8a7258c) contain a heap buffer overflow vulnerability in the drwav__read_smpl_to_metadata_obj() function of dr_wav.h that allows memory corruption via crafted WAV files. Attackers can exploit a mismatch between sampleLoopCount validation in pass 1 and unconditional processing in pass 2 to overflow heap allocations with 36 bytes of attacker-controlled data through any drwav_init_*_with_metadata() call on untrusted input.

Affected products

VendorProductAffectedFixed
mackron dr_libs dr_wav.h ≤ 0.14.4 —

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
Ubuntu 26.10 qtads +3 No fix yet —
Ubuntu 26.04 LTS qtads +3 No fix yet —
Ubuntu 26.04 LTS roc-toolkit 0.4.0+dfsg-5ubuntu3.1 USN-8612-1
Ubuntu 25.10 qtads +4 No fix yet —
Ubuntu 24.04 LTS qtads +3 No fix yet —
Ubuntu 22.04 LTS qtads +2 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS qtads +2 No fix yet —
Ubuntu 18.04 LTS qtads +1 No fix yet —
Ubuntu 16.04 LTS qtads +1 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dr_libs 20260901-1.1 openSUSE-SU-2026:12176-1

Advisories 2

References