CVE-2026-29022 Details
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.
A heap buffer overflow vulnerability has been identified in dr_libs versions through 0.14.4, within the drwav__read_smpl_to_metadata_obj() function of dr_wav.h. This vulnerability allows memory corruption via specially crafted WAV files. The issue arises from a mismatch in the validation of sampleLoopCount, which is checked in the first pass of the metadata parsing, while the second pass processes 'smpl' chunks unconditionally. This flaw can be exploited by overflowing heap allocations with 36 bytes of attacker-controlled data, through any drwav_init_*_with_metadata() call that handles untrusted input.
Users are advised to update to dr_libs version 0.14.5 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49 | [email protected] | Patch |
| https://github.com/mackron/dr_libs/issues/296 | [email protected] | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md | [email protected] | ExploitThird Party Advisory |
| https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mackron dr libs | <= 0.14.4 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 20, 2026 | CVE Modified | [email protected] |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Mar 4, 2026 | CVE Modified | [email protected] |
| Mar 3, 2026 | New CVE Received | [email protected] |