CVE-2024-35365 Use after free in n/a

High 8.8 Published Updated

A double-free vulnerability in FFmpeg's audio stream initialization allows attackers to cause denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-35365?

CVE-2024-35365 is a high-severity use after free vulnerability in Ffmpeg Ffmpeg, published on 3 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

FFmpeg version n6.1.1 has a double-free vulnerability in the fftools/ffmpeg_mux_init.c component of FFmpeg, specifically within the new_stream_audio function.

Weakness: CWE-415

Which versions are affected by CVE-2024-35365?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2024-35365?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-35365 being exploited?

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

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-35365, GHSA-63xr-9hmx-v966, JLSEC-2025-144, OESA-2025-1083, OESA-2025-1084, UBUNTU-CVE-2024-35365.

Is CVE-2024-35365 in your software?

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

Check your SBOMs for free