cve.bz

CVE-2025-0518 ffmpeg ffmpeg: Out-of-bounds Read

4.8 mediumEPSS 0.4%Fix available

Medium (4.8) in ffmpeg ffmpeg. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 4.0

4.8 medium
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

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-125 Out-of-bounds Read
CWE-252 Unchecked Return Value
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-0518 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-0518?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-0518?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-0518 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ffmpeg:ffmpeg7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ffmpeg7:4.3.8-0+deb11u3DLA-4073-1
Debian12ffmpeg7:5.1.7-0+deb12u1DEBIAN-CVE-2025-0518 DSA-5985-1
Debian13, 14ffmpeg7:7.1.1-1DEBIAN-CVE-2025-0518
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2025-0518
UbuntuPro:16.04:LTSffmpeg7:2.8.17-0ubuntu0.1+esm10UBUNTU-CVE-2025-0518 USN-7538-1
UbuntuPro:18.04:LTSffmpeg7:3.4.11-0ubuntu0.1+esm8UBUNTU-CVE-2025-0518 USN-7538-1
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm8UBUNTU-CVE-2025-0518 USN-7538-1
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm7UBUNTU-CVE-2025-0518 USN-7538-1
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm3UBUNTU-CVE-2025-0518 USN-7538-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 moreffmpeg3.4.2-150200.11.60.1SUSE-SU-2025:1450-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 moreffmpeg-44.4.5-150400.3.46.1SUSE-SU-2025:1128-1
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Workstation Extension 15 SP6ffmpeg-44.4.5-150600.13.16.1SUSE-SU-2025:0862-1
openSUSELeap 15.6ffmpeg3.4.2-150200.11.60.1SUSE-SU-2025:1450-1
openSUSELeap 15.6ffmpeg-44.4.5-150600.13.16.1SUSE-SU-2025:0862-1
openSUSETumbleweedffmpeg-44.4.5-3.1openSUSE-SU-2025:14833-1
openSUSETumbleweedffmpeg-66.1.2-3.1openSUSE-SU-2025:15010-1
openSUSETumbleweedffmpeg-77.1-3.1openSUSE-SU-2025:14834-1
Alpinev3.23, v3.24ffmpeg8.0-r0ALPINE-CVE-2025-0518

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON