# CVE-2026-32836: mackron / dr_libs dr_flac.h Excessive Memory Allocation in PICTURE Metadata Parsing

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-17T19:10:19.404Z
- Modified: 2026-07-28T01:48:36.035Z
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- mackron dr_libs dr_flac.h: up to 0.13.3 (not affected: fefced4a64adfb1a68a2d31d882366e56096dee8; 4f5a4cd3b57564d969443c580c75857e039f100a; 663239a3d0460c33bd5b6e5166edcb404e3df676)
- mackron dr_libs: up to 0.13.3

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/mackron/dr_libs/issues/298> (exploit, issue-tracking, mitigation, vendor-advisory)
- <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)

## Sources

- CVE List: [CVE-2026-32836](https://www.cve.org/CVERecord?id=CVE-2026-32836), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-32836](https://nvd.nist.gov/vuln/detail/CVE-2026-32836), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-32836 · Whole record: https://cve.day/CVE-2026-32836.json · Rebuilt by cve.day 2026-11-25T22:59:16.054Z
