CVE-2026-71261 Details
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.
A heap buffer overflow vulnerability has been identified in the dr_libs audio processing library, specifically within the WAV metadata parsing component of the dr_wav header file. This issue affects all versions of the library up to the current master release. The vulnerability arises from an integer overflow during the processing of W64 CUE chunk metadata. In the function drwav__metadata_process_chunk(), the library incorrectly truncates the 64-bit W64 chunk size when estimating metadata capacity, particularly in 32-bit builds. This miscalculation allows for an attacker to manipulate the cue point count and allocation size, leading to a heap buffer overflow when the library reads CUE points from the metadata. The vulnerability can be exploited by crafting a W64 WAV file that exploits this flaw, causing the library to overwrite adjacent memory on the heap.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mackron/dr_libs | TuranSec | Vendor |
| https://github.com/mackron/dr_libs/blob/master/dr_wav.h | TuranSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| dr_libs dr_wav | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion