Buffer overflow in FFmpeg - CVE-2025-22921
Published: April 8, 2025
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to a boundary error within the jpeg2000_decode_packet() function in libavcodec/jpeg2000dec.c. A remote attacker can create a specially crafted input to the application,trigger memory corruption 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 for SAP Applications 15
SUSE Linux Enterprise Server 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 Workstation Extension 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Enterprise Storage
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
openEuler
Fedora
libavformat57-32bit-debuginfo
libavformat57
libavfilter6-debuginfo
ffmpeg-private-devel
libavfilter6
libavformat-devel
libavformat57-debuginfo
libpostproc54-32bit
libavdevice57-32bit-debuginfo
libavresample3-32bit
libavcodec57-32bit-debuginfo
libavfilter6-32bit
libavutil55-32bit-debuginfo
libpostproc54-debuginfo
libswresample2-32bit
libavformat57-32bit
libswresample2-32bit-debuginfo
libpostproc54-32bit-debuginfo
libavdevice57-32bit
libavresample3-32bit-debuginfo
libavutil55-32bit
libswscale4-32bit
libavfilter6-32bit-debuginfo
libswscale4-32bit-debuginfo
libavcodec57-32bit
libavcodec57
libavdevice57
libswscale4-debuginfo
libswresample-devel
libavutil-devel
ffmpeg
libpostproc-devel
ffmpeg-debugsource
ffmpeg-debuginfo
libswresample2-debuginfo
libavcodec-devel
libavresample3-debuginfo
libswscale-devel
libavresample-devel
libavcodec57-debuginfo
libswresample2
libswscale4
libavdevice-devel
libpostproc54
libavutil55
libavfilter-devel
libavdevice57-debuginfo
libavresample3
libavutil55-debuginfo
libavdevice
ffmpeg-libs
ffmpeg-devel
ffmpeg (Debian package)
How to mitigate CVE-2025-22921
libavformat57 - update to 3.4.2-150200.11.60.1
libavfilter6-debuginfo - update to 3.4.2-150200.11.60.1
ffmpeg-private-devel - update to 3.4.2-150200.11.60.1
libavfilter6 - update to 3.4.2-150200.11.60.1
libavformat-devel - update to 3.4.2-150200.11.60.1
libavformat57-debuginfo - update to 3.4.2-150200.11.60.1
libpostproc54-32bit - update to 3.4.2-150200.11.60.1
libavdevice57-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavresample3-32bit - update to 3.4.2-150200.11.60.1
libavcodec57-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavfilter6-32bit - update to 3.4.2-150200.11.60.1
libavutil55-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libpostproc54-debuginfo - update to 3.4.2-150200.11.60.1
libswresample2-32bit - update to 3.4.2-150200.11.60.1
libavformat57-32bit - update to 3.4.2-150200.11.60.1
libswresample2-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libpostproc54-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavdevice57-32bit - update to 3.4.2-150200.11.60.1
libavresample3-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavutil55-32bit - update to 3.4.2-150200.11.60.1
libswscale4-32bit - update to 3.4.2-150200.11.60.1
libavfilter6-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libswscale4-32bit-debuginfo - update to 3.4.2-150200.11.60.1
libavcodec57-32bit - update to 3.4.2-150200.11.60.1
libavcodec57 - update to 3.4.2-150200.11.60.1
libavdevice57 - 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
libavresample-devel - update to 3.4.2-150200.11.60.1
libavcodec57-debuginfo - update to 3.4.2-150200.11.60.1
libswresample2 - update to 3.4.2-150200.11.60.1
libswscale4 - update to 3.4.2-150200.11.60.1
libavdevice-devel - update to 3.4.2-150200.11.60.1
libpostproc54 - update to 3.4.2-150200.11.60.1
libavutil55 - update to 3.4.2-150200.11.60.1
libavfilter-devel - update to 3.4.2-150200.11.60.1
libavdevice57-debuginfo - update to 3.4.2-150200.11.60.1
libavresample3 - update to 3.4.2-150200.11.60.1
libavutil55-debuginfo - update to 3.4.2-150200.11.60.1
ffmpeg-debuginfo - update to 6.1.1-23
ffmpeg - update to 6.1.1-23
libavdevice - update to 6.1.1-23
ffmpeg-libs - update to 6.1.1-23
ffmpeg-devel - update to 6.1.1-23
ffmpeg-debugsource - update to 6.1.1-23
ffmpeg - update to 7.1.1-1.fc43
ffmpeg (Debian package) - update to 7:7.1.5-0+deb13u1
External References
Related Security Bulletins
- Remote code execution in FFmpeg
- Fedora 43 update for ffmpeg
- SUSE update for ffmpeg
- openEuler 24.03 LTS update for ffmpeg
- openEuler 24.03 LTS update for ffmpeg
- openEuler 24.03 LTS update for ffmpeg
- openEuler 24.03 LTS SP2 update for ffmpeg
- openEuler 24.03 LTS SP2 update for ffmpeg
- openEuler 24.03 LTS SP1 update for ffmpeg
- openEuler 24.03 LTS SP2 update for ffmpeg
- openEuler 24.03 LTS SP1 update for ffmpeg
- openEuler 24.03 LTS SP1 update for ffmpeg
- openEuler 24.03 LTS update for ffmpeg
- openEuler 24.03 LTS SP2 update for ffmpeg
- openEuler 24.03 LTS update for ffmpeg
- openEuler 24.03 LTS SP2 update for ffmpeg
- openEuler 24.03 LTS SP1 update for ffmpeg
- openEuler 24.03 LTS SP1 update for ffmpeg
- Debian update for ffmpeg