CVE-2026-29022 mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File
Heap buffer overflow in dr_libs allows attackers to execute arbitrary code or cause denial of service via crafted WAV files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-29022?
CVE-2026-29022 is a medium-severity memory corruption vulnerability in mackron dr_libs dr_wav.h, published on 3 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Which versions are affected by CVE-2026-29022?
It affects 1 product.
Products include Mackron Dr Libs.
How do I fix CVE-2026-29022?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-29022 being exploited?
There is no known exploitation of CVE-2026-29022 in the wild and no public exploit code.
Other vulnerabilities in mackron dr_libs dr_wav.h
Sources
Also known as GHSA-38j9-4vcr-j8qh, UBUNTU-CVE-2026-29022, USN-8612-1.