Vulnerability · Published Jan 16, 2025 · Assigned by CyberArk
CVE-2025-0518Unchecked sscanf return value which leads to memory data leak
Medium 4.8
In plain English
A medium-severity out-of-bounds read in FFmpeg from FFmpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Unchecked Return Value, Out-of-bounds Read vulnerability in FFmpeg allows Read Sensitive Constants Within an Executable. This vulnerability is associated with program files https://github.Com/FFmpeg/FFmpeg/blob/master/libavfilter/af_pan.C . This issue affects FFmpeg: 7.1. Issue was fixed: https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a https://github.com/FFmpeg/FFmpeg/commit/b5b6391d64807578ab872dc58fb8aa621dcfc38a This issue was discovered by: Simcha Kosman
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | ffmpeg | 7.1.1-r0, 8.0-r0 | ALPINE-CVE-2025-0518 |
| Alpine:v3.24 | ffmpeg | 7.1.1-r0, 8.0-r0 | ALPINE-CVE-2025-0518 |
| Debian:12 | ffmpeg | 7:5.1.7-0+deb12u1 | DEBIAN-CVE-2025-0518 |
| Debian:12 | ffmpeg | 7:5.1.7-0+deb12u1 | DSA-5985-1 |
| Debian:13 | ffmpeg | 7:7.1.1-1 | DEBIAN-CVE-2025-0518 |
| Debian:14 | ffmpeg | 7:7.1.1-1 | DEBIAN-CVE-2025-0518 |
Affected products (as reported)
Weakness: CWE-252, CWE-125 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N