CVE-2026-29022: dr_libs - Buffer Overflow
- Cve: CVE-2026-29022
- Name: dr_libs - Buffer Overflow
- 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.
- Impact: Attackers can cause memory corruption leading to potential code execution or application crash.
- Remediation: Update to the fixed commit 8a7258c or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00248
- Epss percentile: 0.16236
- Assignee: [email protected]
- Published at: 2026-03-03T20:16:49Z
- Age in days: 266
- Modified at: 2026-07-14T19:16:55Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-29022
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-122 | Heap-based Buffer Overflow |
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/mackron/dr_libs/issues/296 | nvd | 2026-03-03 |
| https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2026-001-dr-libs-heap-overflow.md | nvd | 2026-03-03 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| 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 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mackron:dr_libs | <= 0.14.4 | no | nvd | /v1/products/mackron/dr_libs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mackron/dr_libs | commit, fix, issues | yes | /v1/repositories/mackron/dr_libs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-03-03
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts