CVE-2026-29022mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File
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.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | dosbox-x | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.10 | faudio | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.10 | octave-ltfat | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.10 | qtads | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.04 | dosbox-x | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.04 | faudio | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.04 | octave-ltfat | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.04 | qtads | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 26.04 | roc-toolkit | Fixed | 0.4.0+dfsg-5ubuntu3.1 | UBUNTU-CVE-2026-29022 |
| Ubuntu 25.10 | dosbox-x | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-29022 | |
| Ubuntu 25.10 | faudio | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-29022 | |
| Ubuntu 25.10 | octave-ltfat | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-29022 | |
| Ubuntu 25.10 | qtads | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-29022 | |
| Ubuntu 25.10 | roc-toolkit | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-29022 | |
| Ubuntu 24.04 | dosbox-x | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 24.04 | faudio | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 24.04 | octave-ltfat | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 24.04 | qtads | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 24.04 | roc-toolkit | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | faudio | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 22.04 | octave-ltfat | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 22.04 | qtads | Under investigation | UBUNTU-CVE-2026-29022 | |
| Ubuntu 20.04 | faudio | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 20.04 | octave-ltfat | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 20.04 | qtads | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 18.04 | octave-ltfat | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 18.04 | qtads | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 16.04 | octave-ltfat | Fix pending | UBUNTU-CVE-2026-29022 | |
| Ubuntu 16.04 | qtads | Fix pending | UBUNTU-CVE-2026-29022 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mackron dr_libs dr_wav.h: affected: up to 0.14.4, 8a7258cc66b49387ad58cc5b81568982a3560d49 not affected
Vendor advisories:
References
- https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md
- https://github.com/mackron/dr_libs/issues/296
- https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49
- https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.