CVE-2026-32836
6.9
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| mackron | dr_libs dr_flac.h | 0 <= 0.13.3 | affected |
| mackron | dr_libs dr_flac.h | fefced4a64adfb1a68a2d31d882366e56096dee8 | unaffected |
| mackron | dr_libs dr_flac.h | 4f5a4cd3b57564d969443c580c75857e039f100a | unaffected |
| mackron | dr_libs dr_flac.h | 663239a3d0460c33bd5b6e5166edcb404e3df676 | unaffected |
Weaknesses
- CWE-789: CWE-789 Memory allocation with excessive size value
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://github.com/mackron/dr_libs/issues/298
- https://github.com/mackron/dr_libs/commit/fefced4a64adfb1a68a2d31d882366e56096dee8
- https://github.com/mackron/dr_libs/commit/4f5a4cd3b57564d969443c580c75857e039f100a
- https://github.com/mackron/dr_libs/commit/663239a3d0460c33bd5b6e5166edcb404e3df676
- https://www.vulncheck.com/advisories/mackron-dr-libs-excessive-memory-allocation-in-picture-metadata-parsing
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.