Double free in FFmpeg - CVE-2024-35368
Published: December 20, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the rkmpp_retrieve_frame() function in libavcodec/rkmppdec.c. A remote attacker can pass specially crafted data to the application, trigger double free error and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Enterprise Storage
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
ffmpeg (Ubuntu package)
libavdevice57
libswscale4
libavcodec57
libswresample2
libpostproc54-debuginfo
libswscale4-debuginfo
libswresample-devel
libavutil-devel
ffmpeg
libpostproc-devel
ffmpeg-debugsource
ffmpeg-debuginfo
libswresample2-debuginfo
libavcodec-devel
libavresample3-debuginfo
libswscale-devel
libavcodec57-debuginfo
libavresample-devel
libavutil55-debuginfo
libavresample3
libavdevice57-debuginfo
libavfilter-devel
libavutil55
libpostproc54
libavdevice-devel
libavfilter6-debuginfo
libavcodec57-32bit
libswscale4-32bit-debuginfo
libavfilter6-32bit-debuginfo
libswscale4-32bit
libavutil55-32bit
libavresample3-32bit-debuginfo
libavdevice57-32bit
libpostproc54-32bit-debuginfo
libswresample2-32bit-debuginfo
libavformat57-32bit
libswresample2-32bit
libavformat57-32bit-debuginfo
libavutil55-32bit-debuginfo
libavfilter6-32bit
libavcodec57-32bit-debuginfo
libavresample3-32bit
libavdevice57-32bit-debuginfo
libpostproc54-32bit
libavformat57-debuginfo
libavformat-devel
libavfilter6
ffmpeg-private-devel
libavformat57
ffmpeg-devel
ffmpeg-libs
libavdevice
ffmpeg (Debian package)
How to mitigate CVE-2024-35368
ffmpeg (Ubuntu package) - addressed in versions 7:2.8.17-0ubuntu0.1+esm12, 7:3.4.11-0ubuntu0.1+esm10, 7:4.2.7-0ubuntu0.1+esm10, 7:4.4.2-0ubuntu0.22.04.1+esm9, 7:6.1.1-3ubuntu5+esm5
libavdevice57 - update to 3.4.2-150200.11.60.1
libswscale4 - update to 3.4.2-150200.11.60.1
libavcodec57 - update to 3.4.2-150200.11.60.1
libswresample2 - update to 3.4.2-150200.11.60.1
libpostproc54-debuginfo - update to 3.4.2-150200.11.60.1
libswscale4-debuginfo - update to 3.4.2-150200.11.60.1
libswresample-devel - update to 3.4.2-150200.11.60.1
libavutil-devel - update to 3.4.2-150200.11.60.1
ffmpeg - update to 3.4.2-150200.11.60.1
libpostproc-devel - update to 3.4.2-150200.11.60.1
ffmpeg-debugsource - update to 3.4.2-150200.11.60.1
ffmpeg-debuginfo - update to 3.4.2-150200.11.60.1
libswresample2-debuginfo - update to 3.4.2-150200.11.60.1
libavcodec-devel - update to 3.4.2-150200.11.60.1
libavresample3-debuginfo - update to 3.4.2-150200.11.60.1
libswscale-devel - update to 3.4.2-150200.11.60.1
libavcodec57-debuginfo - update to 3.4.2-150200.11.60.1
libavresample-devel - update to 3.4.2-150200.11.60.1
libavutil55-debuginfo - update to 3.4.2-150200.11.60.1
libavresample3 - update to 3.4.2-150200.11.60.1
libavdevice57-debuginfo - update to 3.4.2-150200.11.60.1
libavfilter-devel - update to 3.4.2-150200.11.60.1
libavutil55 - update to 3.4.2-150200.11.60.1
libpostproc54 - update to 3.4.2-150200.11.60.1
libavdevice-devel - update to 3.4.2-150200.11.60.1
libavfilter6-debuginfo - update to 3.4.2-150200.11.60.1
libavcodec57-32bit - update to 3.4.2-150200.11.60.1
libswscale4-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavfilter6-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libswscale4-32bit - update to 3.4.2-150200.11.60.1
libavutil55-32bit - update to 3.4.2-150200.11.60.1
libavresample3-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavdevice57-32bit - update to 3.4.2-150200.11.60.1
libpostproc54-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libswresample2-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavformat57-32bit - update to 3.4.2-150200.11.60.1
libswresample2-32bit - update to 3.4.2-150200.11.60.1
libavformat57-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavutil55-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavfilter6-32bit - update to 3.4.2-150200.11.60.1
libavcodec57-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavresample3-32bit - update to 3.4.2-150200.11.60.1
libavdevice57-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libpostproc54-32bit - update to 3.4.2-150200.11.60.1
libavformat57-debuginfo - update to 3.4.2-150200.11.60.1
libavformat-devel - update to 3.4.2-150200.11.60.1
libavfilter6 - update to 3.4.2-150200.11.60.1
ffmpeg-private-devel - update to 3.4.2-150200.11.60.1
libavformat57 - update to 3.4.2-150200.11.60.1
ffmpeg-debuginfo - addressed in versions 4.2.4-20, 4.2.4-21, 6.1.1-16
ffmpeg - addressed in versions 4.2.4-20, 4.2.4-21, 6.1.1-16
ffmpeg-debugsource - addressed in versions 4.2.4-20, 4.2.4-21, 6.1.1-16
ffmpeg-devel - addressed in versions 4.2.4-20, 4.2.4-21, 6.1.1-16
ffmpeg-libs - addressed in versions 4.2.4-20, 4.2.4-21, 6.1.1-16
libavdevice - addressed in versions 4.2.4-20, 4.2.4-21, 6.1.1-16
ffmpeg (Debian package) - update to 7:5.1.7-0+deb12u1
External References
Related Security Bulletins
- Double free in FFmpeg
- openEuler 22.03 LTS SP4 update for ffmpeg
- openEuler 24.03 LTS update for ffmpeg
- openEuler 22.03 LTS SP1 update for ffmpeg
- openEuler 20.03 LTS SP4 update for ffmpeg
- openEuler 22.03 LTS SP3 update for ffmpeg
- SUSE update for ffmpeg
- Ubuntu update for ffmpeg
- Debian update for ffmpeg