CVE-2026-29022
MEDIUM EPSS 10.8%
Published Mar 3, 20263mo ago · Modified Mar 20, 20263mo ago
6.8 CVSS 4.0
Published Mar 3, 2026 3mo ago
Last Modified Mar 20, 2026 3mo ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction A
Scope X
Threat Intelligence
EPSS Exploit Probability
10.8% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-122
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| mackron | dr_libs | * | ≤0.14.4 |
References 4
- github.com https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49
- github.com https://github.com/mackron/dr_libs/issues/296
- github.com https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md
- vulncheck.com https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file
Remediation
- github.com https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49
- github.com https://github.com/mackron/dr_libs/issues/296