Vulnerability · Published Mar 3, 2026 · Assigned by VulnCheck
CVE-2026-29022mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File
High 7.3
In plain English
A high-severity heap buffer overflow in dr_libs dr_wav.h from mackron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:24.04:LTS | dosbox-x | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:25.10 | dosbox-x | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.04:LTS | dosbox-x | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.10 | dosbox-x | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:22.04:LTS | faudio | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:24.04:LTS | faudio | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:25.10 | faudio | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.04:LTS | faudio | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.10 | faudio | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:22.04:LTS | octave-ltfat | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:24.04:LTS | octave-ltfat | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:25.10 | octave-ltfat | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.04:LTS | octave-ltfat | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.10 | octave-ltfat | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:22.04:LTS | qtads | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:24.04:LTS | qtads | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:25.10 | qtads | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.04:LTS | qtads | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.10 | qtads | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:25.10 | roc-toolkit | no fix listed | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.04:LTS | roc-toolkit | 0.4.0+dfsg-5ubuntu3.1 | UBUNTU-CVE-2026-29022 |
| Ubuntu:26.04:LTS | roc-toolkit | 0.4.0+dfsg-5ubuntu3.1 | USN-8612-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mackron | dr_libs dr_wav.h | 0 – through 0.14.4 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
References
- https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md technical-description, exploit
- https://github.com/mackron/dr_libs/issues/296 issue-tracking
- https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49 patch
- https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file third-party-advisory