Home

Description

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.

PUBLISHED Reserved 2026-03-03 | Published 2026-03-03 | Updated 2026-03-03 | Assigner VulnCheck




MEDIUM: 6.8CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-122 Heap-based Buffer Overflow

Product status

Default status
unaffected

Any version
affected

commit 8a7258c (custom)
unaffected

Credits

Ana Kapulica finder

References

github.com/mackron/dr_libs/issues/296 issue-tracking

github.com/...ommit/8a7258cc66b49387ad58cc5b81568982a3560d49 patch

www.vulncheck.com/...-libs-heap-buffer-overflow-via-wav-file third-party-advisory

cve.org (CVE-2026-29022)

nvd.nist.gov (CVE-2026-29022)

Download JSON