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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libchdr | No fix yet | — |
| Debian 13 | libchdr | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | dr_libs | 20260901-1.1 | openSUSE-SU-2026:12176-1 |
Advisories 1
- openSUSE-SU-2026:12176-1 dr_libs-devel-20260901-1.1 on GA media SUSE / openSUSE Security Updates · Oct 19, 2026
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