CVE-2026-29022

dr_libs 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mackron:dr_libs:*:*:*:*:*:*:*:*

History

09 Mar 2026, 18:13

Type Values Removed Values Added
References () https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49 - () https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49 - Patch
References () https://github.com/mackron/dr_libs/issues/296 - () https://github.com/mackron/dr_libs/issues/296 - Exploit, Patch, Issue Tracking, Third Party Advisory
References () https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md - () https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md - Exploit, Third Party Advisory
References () https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file - () https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file - Third Party Advisory, VDB Entry
CPE cpe:2.3:a:mackron:dr_libs:*:*:*:*:*:*:*:*
CWE CWE-787
First Time Mackron dr Libs
Mackron

04 Mar 2026, 22:16

Type Values Removed Values Added
References
  • () https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md -
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.3

03 Mar 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-03 20:16

Updated : 2026-03-09 18:13


NVD link : CVE-2026-29022

Mitre link : CVE-2026-29022

CVE.ORG link : CVE-2026-29022


JSON object : View

Products Affected

mackron

  • dr_libs
CWE
CWE-122

Heap-based Buffer Overflow

CWE-787

Out-of-bounds Write