PatchSiren cyber security CVE debrief
CVE-2026-29022 mackron CVE debrief
CVE-2026-29022 is a heap buffer overflow vulnerability in dr_libs dr_wav.h version 0.14.4 and earlier. The vulnerability 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. This vulnerability has a significant impact on developers and users of the dr_libs library, particularly those using version 0.14.4 or earlier.
- Vendor
- mackron
- Product
- dr_libs dr_wav.h
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-03-03
- Original CVE updated
- 2026-07-14
- Advisory published
- 2026-03-03
- Advisory updated
- 2026-07-14
Who should care
Developers and users of the dr_libs library, particularly those using version 0.14.4 or earlier, should be aware of this vulnerability and take steps to mitigate it. This includes updating to a patched version of the library and being cautious when processing untrusted WAV files. The vulnerability has a medium defensive priority, and affected parties should review and implement necessary security measures.
Technical summary
The vulnerability is caused by a mismatch between sampleLoopCount validation in pass 1 and unconditional processing in pass 2 of the drwav__read_smpl_to_metadata_obj() function in dr_wav.h. This allows attackers to overflow heap allocations with 36 bytes of attacker-controlled data through any drwav_init_*_with_metadata() call on untrusted input. The vulnerability has a CVSS score of 6.8 and a severity of MEDIUM.
Defensive priority
Medium
Recommended defensive actions
- Update to a patched version of the dr_libs library
- Be cautious when processing untrusted WAV files
- Implement additional security measures to detect and prevent exploitation
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record was published on 2026-03-03T20:16:49.433Z and was last modified on 2026-07-14T19:16:55.610Z. The NVD entry is currently Modified. This vulnerability affects dr_libs dr_wav.h version 0.14.4 and earlier. Evidence of exploitation is limited, and defenders should verify the accuracy of affected scope and vendor guidance.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-29022 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-29022
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-29022 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-29022
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/mackron/dr_libs/issues/296
[email protected] - Exploit, Issue Tracking, Patch, Third Party Advisory
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md
[email protected] - Exploit, Third Party Advisory
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file
[email protected] - Third Party Advisory, VDB Entry
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.