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

Read the record on cve.org

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

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HVulnCheck

Weaknesses

  • CWE-789 Memory allocation with excessive size value

Affected Products

ProductVersions
dr_libs dr_flac.hmackron
  • 0.13.3 and earlierAffected
  • fefced4a64adfb1a68a2d31d882366e56096dee8Not affected
  • 4f5a4cd3b57564d969443c580c75857e039f100aNot affected
  • 663239a3d0460c33bd5b6e5166edcb404e3df676Not affected

References

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.