Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71261: CWE-190 in mackron dr_libs

0
High
VulnerabilityCVE-2026-71261cvecve-2026-71261cwe-190
Published: 08/05/2026 (08/05/2026, 12:26:09 UTC)
Source: CVE Database V5
Vendor/Project: mackron
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
mackron/dr_libs
pkg:github/mackron/dr_libs
Affected versions
*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 13:41:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses