Buffer overflow in Mackron Dr Libs
CVE-2026-29022
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (12.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 12th percentile — 12.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Mackron Dr Libs
- Mackron Dr Libs Wav.h — versions 0, 8a7258cc66b49387ad58cc5b81568982a3560d49
Weakness classification (CWE)
References
- github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs… (Exploit, technical-description, Third Party Advisory, exploit)
- github.com/mackron/dr_libs/issues/296 (issue-tracking, Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49 (Patch, patch)
- www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file (VDB Entry, Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-29022?
- CVE-2026-29022 is a high-severity vulnerability in Mackron Dr Libs, classified under Heap-based Buffer Overflow. CVSS score: 7.3/10. Published 2026-03-03.
- How severe is CVE-2026-29022?
- High severity. CVSS v3 base score is 7.3 out of 10.