Buffer overflow in Mackron Dr Libs
CVE-2026-29022
- CVSS v3
- 7.3 High
- Public exploits
- None known
- EPSS
- 0.002 · 16.3th percentile
- Published
- 2026-03-03
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, 16.3th percentile (last changed ); unchanged over 30 days. About EPSS.
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)