CVE-2026-32836
mackron / dr_libs dr_flac.h Excessive Memory Allocation in PICTURE Metadata Parsing
- State
- Published
- Severity
- 6.9 Medium
- Published
- Mar 17, 2026
- Updated
- Jul 28, 2026
- Reserved
- Mar 16, 2026
Description
dr_libs dr_flac.h version 0.13.3 and earlier (fixed in commits fefced4, 4f5a4cd, and 663239a) contain an uncontrolled memory allocation vulnerability in drflac__read_and_decode_metadata() that allows attackers to trigger excessive memory allocation by supplying crafted PICTURE metadata blocks. Attackers can exploit attacker-controlled mimeLength and descriptionLength fields to cause denial of service through memory exhaustion when processing FLAC streams with metadata callbacks.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-789 Memory allocation with excessive size value
Affected Products
| Product | Versions |
|---|---|
dr_libs dr_flac.hmackron |
|
References
- https://github.com/mackron/dr_libs/issues/298issue-tracking
- https://github.com/mackron/dr_libs/commit/fefced4a64adfb1a68a2d31d882366e56096dee8patch
- https://github.com/mackron/dr_libs/commit/4f5a4cd3b57564d969443c580c75857e039f100apatch
- https://github.com/mackron/dr_libs/commit/663239a3d0460c33bd5b6e5166edcb404e3df676patch
- https://www.vulncheck.com/advisories/mackron-dr-libs-excessive-memory-allocation-in-picture-metadata-parsingthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.