CVE-2024-35368

FFmpeg n7.0 is affected by a Double Free via the rkmpp_retrieve_frame function within libavcodec/rkmppdec.c

Critical · published November 29, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
53.0
In the wild
Unconfirmed
What it is

🔥 A double free in FFmpeg's rkmpp_retrieve_frame function is like repeatedly dropping your favorite sandwich on the floor — absolutely devastating! Imagine a restaurant kitchen where a chef accidentally throws away a perfectly good ingredient, only to reach for it again moments later. This double dip can cause chaos, just like the vulnerability that can lead to application crashes or worse. An attacker could exploit this vulnerability to manipulate memory allocation, potentially leading to arbitrary code execution. The consequences could range from crashing the application to executing malicious code — a hacker’s dream come true!

Put simply

Imagine a restaurant kitchen where a chef accidentally throws away a perfectly good ingredient, only to reach for it again moments later. This double dip can cause chaos, just like the vulnerability that can lead to application crashes or worse. The double free vulnerability in FFmpeg n7.0 allows attackers to exploit memory management issues via the rkmpp_retrieve_frame function in libavcodec/rkmppdec.c, which can lead to unpredictable behavior.

What to do

An attacker could exploit this vulnerability to manipulate memory allocation, potentially leading to arbitrary code execution. The consequences could range from crashing the application to executing malicious code — a hacker’s dream come true! To protect your systems, upgrade to FFmpeg version 7.1 or later immediately. Additionally, scrutinize your application for any instances where double freeing might occur and implement safe memory management practices. You've got this! Follow these steps and regain control — your security hero status is activated! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00710 · 53.0th percentile
Published
2024-11-29T00:00Z
EPSS history
Timeline
  • 29 NOV 00:00Z
    FFmpeg n7.0 is affected by a Double Free via the rkmpp_retrieve_frame function within libavcodec/rkmppdec.c
    cvelistv5