Quick answers
- Is CVE-2026-32836 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-32836 being exploited in the wild.
- How severe is CVE-2026-32836?
- Medium severity, with a CVSS score of 6.2, published 17 March 2026.
- Which products and versions are affected?
- Mackron Dr Flac 0.13.3 and earlier.
- Is there a fix for CVE-2026-32836?
- A patch was published on 2026-03-17: Fixes committed to repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-32836 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-32836?
- Check whether you run Mackron Dr Flac or Mackron Dr Libs at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An uncontrolled memory allocation vulnerability (CWE-789) exists in the drflac__read_and_decode_metadata() function within dr_flac.h. The root cause is a failure to validate the mimeLength and descriptionLength fields against the actual remaining block size before performing a malloc() call. An attacker can provide a crafted FLAC stream with a PICTURE metadata block containing large length values, forcing an allocation of up to 4 GiB from a very small input. This vulnerability specifically affects entry points using drflac_open_*_with_metadata() when a non-NULL metadata callback is provided. The issue has been addressed in commits fefced4, 4f5a4cd, and 663239a.
Affected products
- mackron dr_libs dr_flac.h 0.13.3 and earlier
Timeline
- 2026-03-17: advisory: NVD publication date
- 2026-03-17: disclosed: GitHub issue 298 opened
- 2026-03-17: patched: Fixes committed to repository
References
- https://github.com/mackron/dr_libs/commit/4f5a4cd3b57564d969443c580c75857e039f100a
- https://github.com/mackron/dr_libs/commit/663239a3d0460c33bd5b6e5166edcb404e3df676
- https://github.com/mackron/dr_libs/commit/fefced4a64adfb1a68a2d31d882366e56096dee8
- https://github.com/mackron/dr_libs/issues/298
- https://www.vulncheck.com/advisories/mackron-dr-libs-excessive-memory-allocation-in-picture-metadata-parsing