{"id":"CVE-2026-29022","published":"2026-03-03T19:49:16Z","modified":"2026-07-28T01:48:30Z","title":"mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File","vendor":"mackron","product":"dr_libs dr_wav.h","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00248,"percentile":0.16453,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md","tags":["technical-description","exploit"]},{"url":"https://github.com/mackron/dr_libs/issues/296","tags":["issue-tracking"]},{"url":"https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file","tags":["third-party-advisory"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":3.29},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"mackron","affectedVersions":[{"vendor":"mackron","product":"dr_libs dr_wav.h","versions":["<= 0.14.4"]}],"fixedVersions":[{"vendor":"mackron","product":"dr_libs dr_wav.h","versions":["8a7258cc66b49387ad58cc5b81568982a3560d49"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-04T21:13:58.314688Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-9315","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md"]}