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

Published Aug 5, 2026
·
Updated

drlibs drwav.h (all versions through current master) contains an integer overflow in W64 CUE chunk metadata parsing. In drwavmetadataprocesschunk(), a stage-1 capacity estimate truncates the 64-bit W64 chunk sizeInBytes to sizet before dividing by DRWAVCUEPOINTBYTES; on 32-bit builds this truncation causes the pre-allocated extra metadata capacity to be computed incorrectly. The subsequent read in drwavreadcuetometadataobj() 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 (drwavmetadatagetmemory()) is a DRWAVASSERT, 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.

Affected Software

1 affected component
dr_wav.h<=current master

Event History

Aug 5, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:24 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71261?

CVE-2026-71261 has a high severity rating of 7.8.

2

How do I fix CVE-2026-71261?

To fix CVE-2026-71261, users should upgrade to the latest version of dr_wav.h that addresses this vulnerability.

3

What does the integer overflow in CVE-2026-71261 affect?

The integer overflow in CVE-2026-71261 affects the 32-bit builds of dr_wav.h, leading to potential heap buffer overflows.

4

What component is impacted by CVE-2026-71261?

CVE-2026-71261 impacts the dr_wav.h component of the dr_libs library.

5

What is the potential impact of CVE-2026-71261?

The potential impact of CVE-2026-71261 includes arbitrary code execution due to a heap buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203