top of page
perceptive_background_267k.jpg

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 sta…

Published:

5 August 2026 at 00:00:00

Alert date:

5 August 2026 at 16:10:56

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Zero-Day Vulnerabilities

CVE-2026-71261 describes an integer overflow vulnerability in the dr_libs dr_wav.h library affecting all versions through the current master branch. The flaw exists in W64 CUE chunk metadata parsing within drwav__metadata_process_chunk(), where a 64-bit chunk size is truncated to size_t on 32-bit builds, causing incorrect pre-allocated metadata capacity calculations. The subsequent read in drwav__read_cue_to_metadata_obj() uses an attacker-controlled cuePointCount field without validating it against the stage-1 capacity estimate. The only bounds check present is a DRWAV_ASSERT macro that compiles to a no-op in release builds compiled with -DNDEBUG. This combination allows a crafted W64 WAV file to trigger a heap buffer overflow in any 32-bit application that parses untrusted WAV metadata using this library. The vulnerability poses a significant risk given the wide embedding of dr_libs in audio-processing software.

Technical details

Mitigation steps:

Affected products:

dr_libs dr_wav.h (all versions through current master)

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page