Skip to content

dr_libs

mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File

CVE-2026-29022Published 3 Mar 2026, 19:49 UTC

Real-world risk

2.3/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.8

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from VulnCheck)

dr_libs dr_wav.h version 0.14.4 and earlier (fixed in commit 8a7258c) contain a heap buffer overflow vulnerability in the drwav__read_smpl_to_metadata_obj() function of dr_wav.h that allows memory corruption via crafted WAV files. Attackers can exploit a mismatch between sampleLoopCount validation in pass 1 and unconditional processing in pass 2 to overflow heap allocations with 36 bytes of attacker-controlled data through any drwav_init_*_with_metadata() call on untrusted input.

Am I affected?

ProductAffected versions (from the sources)Fixed in
dr_libsNiche<= 0.14.4—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)

EPSS 0.2% chance of exploitation in 30 days (percentile 12), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.350
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.7 × prerequisites 0.35 × threat 0.952.327
  4. Rounded to one decimal between 0.1 and 102.3

How the score works

Exploitation and evidence timeline

  1. 3 Mar 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 Risk 2.3 (cvss fallback)

Weakness

CWE-122

References

Get alerts for dr_libs

Free email or text alerts when a vulnerability in dr_libs reaches risk 8 or higher. Nothing else.