Out-of-bounds read in FFmpeg - CVE-2025-0518

 

Out-of-bounds read in FFmpeg - CVE-2025-0518

Published: April 7, 2025


Vulnerability identifier: #VU107058
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-0518
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in libavfilter/af_pan.c. A remote attacker can pass specially crafted input to the application, trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

FFmpeg
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
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
libswscale4-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
libpostproc54-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
libswscale4
libswresample2
libavdevice57
ffmpeg (Debian package)

How to mitigate CVE-2025-0518

Install update from vendor's website.

FFmpeg - addressed in versions 3.4.14, 4.3.9, 7.1.1
libavformat57-32bit-debuginfo - update to 3.4.2-150200.11.60.1
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
libswscale4-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
libpostproc54-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
libswscale4 - update to 3.4.2-150200.11.60.1
libswresample2 - update to 3.4.2-150200.11.60.1
libavdevice57 - update to 3.4.2-150200.11.60.1
ffmpeg (Debian package) - update to 7:5.1.7-0+deb12u1

External References

Related Security Bulletins