CVE-2026-71261: CWE-190 in mackron dr_libs
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.
AI Analysis
Technical Summary
The vulnerability exists in dr_libs' dr_wav.h file, specifically in the function drwav__metadata_process_chunk(). On 32-bit systems, the 64-bit W64 chunk sizeInBytes is truncated to size_t, causing an incorrect pre-allocated capacity estimate for metadata. Later, the actual cue point count is used without verifying it against this incorrect estimate. The only bounds check is a DRWAV_ASSERT, which is disabled in release builds by default. This flaw allows an attacker to craft a malicious W64 WAV file that triggers a heap buffer overflow in 32-bit applications parsing untrusted WAV metadata.
Potential Impact
Successful exploitation can lead to a heap buffer overflow in 32-bit applications using dr_libs to parse W64 WAV metadata. The CVSS 3.1 score of 7.8 indicates high impact, with potential for confidentiality, integrity, and availability compromise. However, exploitation requires local access (AV:L) and user interaction (UI:R). No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted W64 WAV files on 32-bit systems using dr_libs. Consider using 64-bit builds where this truncation does not occur. Monitor vendor channels for official patches or updates.
CVE-2026-71261: CWE-190 in mackron dr_libs
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.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in dr_libs' dr_wav.h file, specifically in the function drwav__metadata_process_chunk(). On 32-bit systems, the 64-bit W64 chunk sizeInBytes is truncated to size_t, causing an incorrect pre-allocated capacity estimate for metadata. Later, the actual cue point count is used without verifying it against this incorrect estimate. The only bounds check is a DRWAV_ASSERT, which is disabled in release builds by default. This flaw allows an attacker to craft a malicious W64 WAV file that triggers a heap buffer overflow in 32-bit applications parsing untrusted WAV metadata.
Potential Impact
Successful exploitation can lead to a heap buffer overflow in 32-bit applications using dr_libs to parse W64 WAV metadata. The CVSS 3.1 score of 7.8 indicates high impact, with potential for confidentiality, integrity, and availability compromise. However, exploitation requires local access (AV:L) and user interaction (UI:R). No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted W64 WAV files on 32-bit systems using dr_libs. Consider using 64-bit builds where this truncation does not occur. Monitor vendor channels for official patches or updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-05T12:23:34.966Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7336e3bf8831d539ed912d
Added to database: 08/05/2026, 13:13:07 UTC
Last enriched: 08/05/2026, 13:41:31 UTC
Last updated: 08/05/2026, 16:11:52 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.