{"id":"CVE-2026-71261","aliases":["EUVD-2026-53346","GHSA-cfw7-vmp5-wg69","UBUNTU-CVE-2026-71261"],"status":"published","title":"dr_wav.h W64 CUE Chunk Metadata Parsing Integer Overflow Leading to Heap Buffer Overflow on 32-bit Builds","description":"dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk, a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly.","severity":{"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":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00174,"percentile":0.06905,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190"],"published":"2026-08-05T12:26:09Z","modified":"2026-10-24T15:10:00Z","affected":[{"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":"qtads","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.6-1.1"]},{"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":"qt6-multimedia","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.2-3","6.2.4-1"]},{"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":"libchdr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20230918.9108f34+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"qt6-multimedia","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.4.2-10build1","6.4.2-11","6.4.2-11build2","6.4.2-11build3"]},{"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:26.10","package":"libchdr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20250608.8bba774+dfsg-2","0.3.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"qt6-multimedia","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.10.2-2","6.10.2-4","6.10.2-5","6.10.2-6","6.11.2-2"]},{"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":"libchdr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20240929.aaca599+dfsg-1","0.0~git20250608.8bba774+dfsg-1","0.0~git20250608.8bba774+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"qt6-multimedia","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.9.2-1ubuntu1","6.9.2-4","6.9.2-5","6.9.2-5build1","6.10.2-2"]},{"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"]}],"products":[{"vendor":"mackron","product":"dr_libs"}],"references":[{"url":"https://github.com/mackron/dr_libs","tags":["third-party-advisory","report"]},{"url":"https://github.com/mackron/dr_libs/blob/master/dr_wav.h","tags":["third-party-advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71261"},{"url":"https://github.com/advisories/GHSA-cfw7-vmp5-wg69"},{"url":"https://ubuntu.com/security/CVE-2026-71261","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-71261","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-71261","title":"dr_wav.h W64 CUE Chunk Metadata Parsing Integer Overflow Leading to Heap Buffer Overflow on 32-bit Builds","description":"dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk, a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly.","status":"published","published":"2026-08-05T12:26:09.652Z","modified":"2026-08-10T11:46:24.262Z","cvss":[{"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":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:19:49.559463Z"}],"euvd":[{"id":"EUVD-2026-53346","description":"dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk, a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly.","status":"published","published":"2026-08-05T12:26:09Z","modified":"2026-08-10T11:46:24Z","cvss":[{"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"}],"updated_at":"2026-11-02T18:02:05.732685Z"}],"ghsa":[{"id":"GHSA-cfw7-vmp5-wg69","title":"dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE...","description":"dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk(), a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly. The subsequent read in drwav__read_cue_to_metadata_obj() computes the actual cue point count and allocation size using the full-precision, attacker-controlled cuePointCount field without cross-checking it against the stage-1 capacity estimate, and the only bounds enforcement on the resulting memory region (drwav__metadata_get_memory()) is a DRWAV_ASSERT, which compiles to a no-op under -DNDEBUG (the default for release builds). A crafted W64 WAV file can therefore cause a heap buffer overflow in any 32-bit application parsing untrusted WAV metadata.","status":"published","published":"2026-08-05T15:32:19Z","modified":"2026-08-05T15:32:23Z","cvss":[{"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"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:10:07.328501Z"}],"nvd":[{"id":"CVE-2026-71261","description":"dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk, a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly.","status":"published","published":"2026-08-05T13:24:50.233Z","modified":"2026-10-24T15:10:00.19Z","cvss":[{"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":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:12:35.031043Z"}],"osv":[{"id":"UBUNTU-CVE-2026-71261","description":"dr_libs dr_wav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwav__metadata_process_chunk, a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to size_t before dividing by DRWAV_CUE_POINT_BYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly.","status":"published","published":"2026-08-05T13:24:00Z","modified":"2026-10-17T13:00:45.298509382Z","cvss":[{"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"}],"updated_at":"2026-11-02T16:57:03.035847Z"}]}}
