Vulnerability · Published Mar 17, 2026 · Assigned by VulnCheck
CVE-2026-32836mackron / dr_libs dr_flac.h Excessive Memory Allocation in PICTURE Metadata Parsing
Medium 6.2
In plain English
A medium-severity security flaw in dr_libs dr_flac.h from mackron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | libchdr | no fix listed | DEBIAN-CVE-2026-32836 |
| Debian:14 | libchdr | no fix listed | DEBIAN-CVE-2026-32836 |
| Ubuntu:24.04:LTS | libchdr | no fix listed | UBUNTU-CVE-2026-32836 |
| Ubuntu:25.10 | libchdr | no fix listed | UBUNTU-CVE-2026-32836 |
| Ubuntu:26.04:LTS | libchdr | no fix listed | UBUNTU-CVE-2026-32836 |
| Ubuntu:26.10 | libchdr | no fix listed | UBUNTU-CVE-2026-32836 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mackron | dr_libs dr_flac.h | 0 – through 0.13.3 |
Weakness: CWE-789 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/mackron/dr_libs/issues/298 issue-tracking
- https://github.com/mackron/dr_libs/commit/fefced4a64adfb1a68a2d31d882366e56096dee8 patch
- https://github.com/mackron/dr_libs/commit/4f5a4cd3b57564d969443c580c75857e039f100a patch
- https://github.com/mackron/dr_libs/commit/663239a3d0460c33bd5b6e5166edcb404e3df676 patch
- https://www.vulncheck.com/advisories/mackron-dr-libs-excessive-memory-allocation-in-picture-metadata-parsing third-party-advisory