{"id":"CVE-2026-29022","aliases":["EUVD-2026-9315","GHSA-38j9-4vcr-j8qh","UBUNTU-CVE-2026-29022","USN-8612-1","openSUSE-SU-2026:12176-1"],"status":"published","title":"mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File","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.","severity":{"version":"4.0","score":6.8,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00248,"percentile":0.16215,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-787"],"published":"2026-03-03T19:49:16Z","modified":"2026-10-28T20:17:47Z","fixes":[{"ecosystem":"Ubuntu:26.04:LTS","package":"roc-toolkit","fixed_in":["0.4.0+dfsg-5ubuntu3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+dfsg-1","2.1.1+dfsg-1","2.1.1+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.6-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0+dfsg-4","2.2.0+dfsg-5","2.2.0+dfsg-7"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.6-1.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"faudio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["19.07-1","19.11-1","19.12-1","20.04-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1+dfsg-2","2.3.1+dfsg-2build1","2.3.1+dfsg-3","2.3.1+dfsg-3build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.6-1.1","2.1.7-0.1","2.1.7-0.1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"faudio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["21.02-1","21.11-1","21.12-1","22.01-1","22.02-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1+dfsg-8","2.3.1+dfsg-10","2.3.1+dfsg-10build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.7-0.1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"dosbox-x","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.10.06+dfsg-1","2024.03.01+dfsg-1build1","2024.03.01+dfsg-1build2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"faudio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.07+dfsg-1","23.08+dfsg-1","23.11+dfsg-1","24.02+dfsg-1","24.02+dfsg-1build1","24.02+dfsg-1build2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0+dfsg-2ubuntu1","2.6.0+dfsg-6ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0+dfsg-1","3.4.0+dfsg-1build1","3.4.0+dfsg-1build2","3.4.0+dfsg-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"dosbox-x","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.02.01+dfsg-1","2025.02.01+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"faudio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.03+dfsg-2","25.04+dfsg-1","25.05+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-6ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0+dfsg-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"roc-toolkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0+dfsg-4ubuntu1","0.4.0+dfsg-5ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"dosbox-x","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2026.01.02+dfsg-2","2026.06.02+dfsg-1","2026.07.02+dfsg-1","2026.08.02+dfsg-1","2026.08.02+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"faudio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["26.01+dfsg-1","26.05+dfsg-1","26.06+dfsg-1","26.07+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-7build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"dosbox-x","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.02.01+dfsg-3","2025.10.07+dfsg-1","2025.12.01+dfsg-1","2026.01.02+dfsg-1","2026.01.02+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"faudio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.05+dfsg-1","25.09+dfsg-1","25.12+dfsg-1","25.12+dfsg-2","26.01+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"octave-ltfat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-6ubuntu2","2.6.0+dfsg-7","2.6.0+dfsg-7build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0+dfsg-1build3","3.4.0+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"roc-toolkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0+dfsg-5ubuntu3.1"}]}],"versions":["0.4.0+dfsg-5ubuntu1","0.4.0+dfsg-5ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"roc-toolkit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0+dfsg-5ubuntu3.1"}]}],"versions":["0.4.0+dfsg-5ubuntu1","0.4.0+dfsg-5ubuntu3"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"dr_libs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20260901-1.1"}]}],"bundled":2}],"products":[{"vendor":"mackron","product":"dr_libs"},{"vendor":"mackron","product":"dr_libs dr_wav.h"}],"references":[{"url":"https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md","tags":["technical-description","exploit","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/mackron/dr_libs/issues/296","tags":["issue-tracking","Exploit","Issue Tracking","Patch","Third Party Advisory","report"]},{"url":"https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49","tags":["patch","Patch","fix","report"]},{"url":"https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29022","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-38j9-4vcr-j8qh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29022.json","tags":["advisory"]},{"url":"https://github.com/mackron/dr_libs","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-29022","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-29022","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8612-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-29022","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-32836","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-29022","title":"mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File","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.","status":"published","published":"2026-03-03T19:49:16.581Z","modified":"2026-07-28T01:48:30.401Z","cvss":[{"version":"4.0","score":6.8,"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","level":"medium","assessor":"cna"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:19:56.284359Z"}],"euvd":[{"id":"EUVD-2026-9315","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.","status":"published","published":"2026-03-03T19:49:16Z","modified":"2026-07-28T01:48:30Z","cvss":[{"version":"4.0","score":6.8,"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","level":"medium"}],"updated_at":"2026-11-02T18:02:32.608142Z"}],"ghsa":[{"id":"GHSA-38j9-4vcr-j8qh","title":"dr_libs version 0.14.4 and earlier (fixed in commit 8a7258c) contain a heap buffer overflow...","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.","status":"published","published":"2026-03-03T21:31:16Z","modified":"2026-03-09T18:32:40Z","cvss":[{"version":"4.0","score":6.8,"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/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","level":"medium"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","level":"high"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T15:06:31.484049Z"}],"nvd":[{"id":"CVE-2026-29022","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.","status":"published","published":"2026-03-03T20:16:49.433Z","modified":"2026-07-14T19:16:55.61Z","cvss":[{"version":"4.0","score":6.8,"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/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","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:12:07.420927Z"}],"osv":[{"id":"CVE-2026-29022","title":"mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File","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.","status":"published","published":"2026-03-03T19:49:16.581Z","modified":"2026-10-28T10:49:15.39372453Z","cvss":[{"version":"4.0","score":6.8,"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","level":"medium"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T15:45:00.530889Z"},{"id":"UBUNTU-CVE-2026-29022","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.","status":"published","published":"2026-03-03T20:16:00Z","modified":"2026-10-28T20:17:47.586704065Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":6.8,"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","level":"medium"}],"updated_at":"2026-11-02T16:56:11.640778Z"},{"id":"openSUSE-SU-2026:12176-1","title":"dr_libs-devel-20260901-1.1 on GA media","description":"These are all security issues fixed in the dr_libs-devel-20260901-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-10-18T00:00:00Z","modified":"2026-10-19T09:30:05.151904656Z","updated_at":"2026-11-02T16:58:40.245664Z"},{"id":"USN-8612-1","title":"roc-toolkit vulnerability","description":"It was discovered that Roc Toolkit incorrectly handled WAV files with a\nmalformed \"smpl\" chunk. An attacker could use this issue to cause Roc\nToolkit to crash, resulting in a denial of service, or possibly execute\narbitrary code.","status":"published","published":"2026-07-27T12:33:35Z","modified":"2026-07-27T21:14:45.916053561Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
