7.8
HIGH CVSS 3.1
CVE-2026-29022
mackron / dr_libs dr_wav.h Heap Buffer Overflow via WAV File
Description

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.

INFO

Published Date :

March 3, 2026, 8:16 p.m.

Last Modified :

March 20, 2026, 6:16 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-29022 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Mackron dr_libs
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 4.0 MEDIUM [email protected]
Solution
Update dr_libs to the latest version to fix a heap buffer overflow vulnerability.
  • Update dr_libs to version 0.14.5 or later.
  • Apply patch commit 8a7258c to dr_wav.h.
  • Validate WAV files before processing.
  • Avoid processing untrusted WAV files.
Public PoC/Exploit Available at Github

CVE-2026-29022 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-29022.

URL Resource
https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49 Patch
https://github.com/mackron/dr_libs/issues/296 Exploit Issue Tracking Patch Third Party Advisory
https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md Exploit Third Party Advisory
https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file Third Party Advisory VDB Entry
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-29022 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-29022 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Security advisories and vulnerabilities discovered by Marlink Cyber

C

Updated: 1 day, 16 hours ago
2 stars 1 fork 1 watcher
Born at : Oct. 12, 2025, 7:52 p.m. This repo has been linked 18 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-29022 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-29022 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Mar. 20, 2026

    Action Type Old Value New Value
    Changed Description dr_libs 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. 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.
  • Initial Analysis by [email protected]

    Mar. 09, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:mackron:dr_libs:*:*:*:*:*:*:*:* versions up to (including) 0.14.4
    Added Reference Type VulnCheck: https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49 Types: Patch
    Added Reference Type VulnCheck: https://github.com/mackron/dr_libs/issues/296 Types: Exploit, Issue Tracking, Patch, Third Party Advisory
    Added Reference Type VulnCheck: https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md Types: Exploit, Third Party Advisory
    Added Reference Type VulnCheck: https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file Types: Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Mar. 04, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
    Added Reference https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md
  • New CVE Received by [email protected]

    Mar. 03, 2026

    Action Type Old Value New Value
    Added Description dr_libs 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.
    Added CVSS V4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-122
    Added Reference https://github.com/mackron/dr_libs/commit/8a7258cc66b49387ad58cc5b81568982a3560d49
    Added Reference https://github.com/mackron/dr_libs/issues/296
    Added Reference https://www.vulncheck.com/advisories/mackron-dr-libs-heap-buffer-overflow-via-wav-file
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.