What’s Vulnerable › Vulnerabilities
CVE-2026-29022: mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-03 · updated 2026-07-14
- Weakness: CWE-122
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
- mackron dr_libs: through 0.14.4
References
- https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49
- https://github.com/mackron/dr_libs/issues/296
- https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md
- https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file
Get alerted when CVE-2026-29022 or the next vulnerability affects your stack