{"id":"CVE-2026-29022","aliases":["CVE-2026-29022"],"related":[],"kind":"vulnerability","state":"published","title":"mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"dr_libs versión 0.14.4 y anteriores (corregido en el commit 8a7258c) contienen una vulnerabilidad de desbordamiento de búfer de pila en la función drwav__read_smpl_to_metadata_obj() de dr_wav.h que permite la corrupción de memoria a través de archivos WAV manipulados. Los atacantes pueden explotar una discrepancia entre la validación de sampleLoopCount en el paso 1 y el procesamiento incondicional en el paso 2 para desbordar las asignaciones de pila con 36 bytes de datos controlados por el atacante a través de cualquier llamada a drwav_init_*_with_metadata() en entrada no confiable.","source":"nvd"}],"published":"2026-03-03T19:49:16.581Z","modified":"2026-07-28T01:48:30.401Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-122","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.14.4","status":"affected"},{"type":"git","version":"8a7258cc66b49387ad58cc5b81568982a3560d49","status":"unaffected"}],"vendor":"mackron","product":"dr_libs dr_wav.h","repo":"https://github.com/mackron/dr_libs","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.14.4"}],"vendor":"mackron","product":"dr_libs","cpe":"cpe:2.3:a:mackron:dr_libs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md","tags":["exploit","technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mackron/dr_libs/issues/296","tags":["exploit","issue-tracking","patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]}],"credits":["Ana Kapulica"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-04T21:13:58.314Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-29022","url":"https://www.cve.org/CVERecord?id=CVE-2026-29022","licence":"CVE Terms of Use","modified":"2026-07-28T01:48:30.401Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-29022","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29022","licence":"Public domain","modified":"2026-07-14T19:16:55.610Z"}],"updatedAt":"2026-11-25T22:59:15.133Z","epss":{"score":0.00209,"percentile":0.1165,"date":"2026-12-01T12:00:22.000Z"}}