CVE-2024-41147 Memory corruption in Miniaudio

High 7.7 Published Updated

A crafted FLAC file can trigger an out-of-bounds write in Miniaudio, potentially leading to memory corruption and code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-41147?

CVE-2024-41147 is a high-severity memory corruption vulnerability in Miniaudio, published on 4 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An out-of-bounds write vulnerability exists in the ma_dr_flac__decode_samples__lpc functionality of Miniaudio miniaudio v0.11.21. A specially crafted .flac file can lead to memory corruption. An attacker can provide a malicious file to trigger this vulnerability.

Weakness: CWE-122

Which versions are affected by CVE-2024-41147?

It affects 1 product.

Products include Mackron Miniaudio.

How do I fix CVE-2024-41147?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-41147 being exploited?

There is no known exploitation of CVE-2024-41147 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-41147, GHSA-cchf-xm65-f24c, UBUNTU-CVE-2024-41147.

Is CVE-2024-41147 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free