# CVE-2026-71261: dr_wav.h W64 CUE Chunk Metadata Parsing Integer Overflow Leading to Heap Buffer Overflow on 32-bit Builds

- Severity: High 7.8 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-05T12:26:09.652Z
- Modified: 2026-10-24T15:10:00.190Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- mackron dr_libs: up to *

## References

- <https://github.com/mackron/dr_libs> (third-party-advisory)
- <https://github.com/mackron/dr_libs/blob/master/dr_wav.h> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-71261](https://www.cve.org/CVERecord?id=CVE-2026-71261), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71261](https://nvd.nist.gov/vuln/detail/CVE-2026-71261), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71261 · Whole record: https://cve.day/CVE-2026-71261.json · Rebuilt by cve.day 2026-11-25T22:59:31.101Z
