CVE-2024-35368 Use after free in n/a
A double free vulnerability in FFmpeg's Rockchip decoder 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
- Not needed
- Fix
- Available
What is CVE-2024-35368?
CVE-2024-35368 is a critical use after free vulnerability in Ffmpeg Ffmpeg, published on 29 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
FFmpeg n7.0 is affected by a Double Free via the rkmpp_retrieve_frame function within libavcodec/rkmppdec.c.
Weakness: CWE-415
Which versions are affected by CVE-2024-35368?
It affects 1 product.
Linux distribution packages (2)
ffmpeg-4 openSUSE:Tumbleweed | All versions | 4.4.5-5.1 |
ffmpeg-7 openSUSE:Tumbleweed | All versions | 7.1-4.1 |
Products include Ffmpeg Ffmpeg.
How do I fix CVE-2024-35368?
Apply the vendor's patch.
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-35368 being exploited?
There is no known exploitation of CVE-2024-35368 in the wild and no public exploit code.
Other vulnerabilities in Ffmpeg Ffmpeg
Sources
Also known as DEBIAN-CVE-2024-35368, GHSA-pw36-wp35-2rw6, MGASA-2025-0087, UBUNTU-CVE-2024-35368, openSUSE-SU-2025:14849-1, openSUSE-SU-2025:14850-1.