Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-32836 EUVD-2026-12631GHSA-6mgc-4427-8p4x

mackron / dr_libs dr_flac.h Excessive Memory Allocation in PICTURE Metadata Parsing

Published Mar 17, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
mackron dr_libs dr_flac.h ≤ 0.13.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libchdr No fix yet —
Debian 13 libchdr No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libchdr No fix yet —
Ubuntu 26.04 LTS libchdr No fix yet —
Ubuntu 25.10 libchdr No fix yet —
Ubuntu 24.04 LTS libchdr No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dr_libs 20260901-1.1 openSUSE-SU-2026:12176-1

Advisories 1

References