CVEfocus › CVE database › CVE-2025-0518

CVE-2025-0518Unchecked sscanf return value which leads to memory data leak

CVSS 4.8 MediumEPSS 0.6% (higher than 44% of CVEs)Published 2025-01-16Updated 2025-11-03Assigner: CyberArk

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

CWE-125CWE-252

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
6Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10ffmpegNot affected
vulnerable_code_not_present
Ubuntu 24.04ffmpegFix pending7:6.1.1-3ubuntu5+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-0518
Ubuntu 22.04ffmpegFix pending7:4.4.2-0ubuntu0.22.04.1+esm7 (Ubuntu Pro)UBUNTU-CVE-2025-0518
Ubuntu 20.04ffmpegFix pending7:4.2.7-0ubuntu0.1+esm8 (Ubuntu Pro)UBUNTU-CVE-2025-0518
Ubuntu 18.04ffmpegFix pending7:3.4.11-0ubuntu0.1+esm8 (Ubuntu Pro)UBUNTU-CVE-2025-0518
Ubuntu 16.04ffmpegFix pending7:2.8.17-0ubuntu0.1+esm10 (Ubuntu Pro)UBUNTU-CVE-2025-0518
Ubuntu 14.04libavFix pendingUBUNTU-CVE-2025-0518
Debian 14ffmpegFixed7:7.1.1-1DEBIAN-CVE-2025-0518
Debian 13ffmpegFixed7:7.1.1-1DEBIAN-CVE-2025-0518
Debian 12ffmpegFixed7:5.1.7-0+deb12u1DEBIAN-CVE-2025-0518
Alpine Linux 3.24ffmpegFixed7.1.1-r0ALPINE-CVE-2025-0518
Alpine Linux 3.23ffmpegFixed8.0-r0ALPINE-CVE-2025-0518

What the vendor says

As published in the CVE record by CyberArk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.