Cloudanix VulnDB

CVE-2025-0518

None

CVSS

—

EPSS

0.4%

Published

Jan 16, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A programming mistake in FFmpeg could let someone peek at internal values inside the program that should remain hidden.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Unchecked return value in libavfilter/af_pan.c permits an out-of-bounds read that exposes sensitive constants stored inside the FFmpeg executable.

Why it matters to the business

Attackers may obtain internal program data that could aid further attacks or reveal implementation details; the issue affects any application or pipeline that uses the vulnerable FFmpeg 7.1 build.

How an attack unfolds

An attacker supplies specially crafted audio content that exercises the pan filter, triggering the unchecked return and subsequent out-of-bounds read to leak executable constants.

How to fix it

Rebuild or upgrade FFmpeg to the commit b5b6391d64807578ab872dc58fb8aa621dcfc38a or later; rebuild all dependent packages and containers that embed the affected library.

How to confirm the fix worked

Confirm the installed FFmpeg binary or library was built from a tree containing commit b5b6391d64807578ab872dc58fb8aa621dcfc38a; run regression tests that exercise the pan filter with boundary inputs.

Typical attack path

  1. Identify or control an FFmpeg invocation that applies the pan audio filter
  2. Craft or modify input media to reach the vulnerable code path in af_pan.c
  3. Trigger the unchecked return value to perform the out-of-bounds read
  4. Capture the leaked constants from the resulting output or memory disclosure

How to detect it

Review process execution logs and media-processing job histories for unexpected pan-filter usage or crashes on crafted inputs; examine memory dumps or core files from FFmpeg workers for anomalous constant leakage patterns.

What your security team should do

  • Prioritize updating all FFmpeg 7.1 installations and rebuilds to the fixed commit
  • Scan build pipelines and container images for the vulnerable version and replace them
  • Review media-processing workflows that invoke the pan filter and apply least-privilege execution contexts
  • Monitor upstream FFmpeg releases for any follow-on fixes

The record

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

Ecosystem Package Introduced Fixed
Chainguard ffmpeg-6 0 6.1.3-r0
Chainguard ffmpeg-6-dev 0 6.1.3-r0
Chainguard ffmpeg-6-doc 0 6.1.3-r0
Chainguard ffmpeg-6-libavcodec61 0 6.1.3-r0
Chainguard ffmpeg-6-libavdevice61 0 6.1.3-r0
Chainguard ffmpeg-6-libavfilter10 0 6.1.3-r0
Chainguard ffmpeg-6-libavformat61 0 6.1.3-r0
Chainguard ffmpeg-6-libavutil59 0 6.1.3-r0
Chainguard ffmpeg-6-libpostproc58 0 6.1.3-r0
Chainguard ffmpeg-6-libswresample5 0 6.1.3-r0
Chainguard ffmpeg-6-libswscale8 0 6.1.3-r0
Chainguard ffmpeg-6-qt-faststart 0 6.1.3-r0
Chainguard ffmpeg-6-static 0 6.1.3-r0
Debian:11 ffmpeg 0 No fix
Debian:11 ffmpeg 0 7:4.3.8-0+deb11u3
Debian:12 ffmpeg 0 No fix
Debian:13 ffmpeg 0 No fix
Debian:14 ffmpeg 0 7:7.1.1-1
Mageia:9 ffmpeg 0 5.1.6-1.3.mga9
SUSE:Enterprise Storage 7.1 ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS ffmpeg-4 0 4.4.5-150400.3.46.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS ffmpeg-4 0 4.4.5-150400.3.46.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 ffmpeg-4 0 4.4.5-150600.13.16.1
SUSE:Linux Enterprise Server 15 SP3-LTSS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Server 15 SP4-LTSS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Server 15 SP4-LTSS ffmpeg-4 0 4.4.5-150400.3.46.1
SUSE:Linux Enterprise Server 15 SP5-LTSS ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 ffmpeg-4 0 4.4.5-150400.3.46.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 ffmpeg 0 3.4.2-150200.11.60.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 ffmpeg-4 0 4.4.5-150600.13.16.1
Ubuntu:20.04:LTS ffmpeg 0 No fix
Ubuntu:22.04:LTS ffmpeg 0 No fix
Ubuntu:24.04:LTS ffmpeg 0 No fix
Ubuntu:24.10 ffmpeg 0 No fix
Ubuntu:Pro:14.04:LTS libav 0 No fix
Ubuntu:Pro:16.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:16.04:LTS ffmpeg 0 7:2.8.17-0ubuntu0.1+esm10
Ubuntu:Pro:18.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:18.04:LTS ffmpeg 0 7:3.4.11-0ubuntu0.1+esm8
Ubuntu:Pro:20.04:LTS ffmpeg 0 7:4.2.7-0ubuntu0.1+esm8
Ubuntu:Pro:22.04:LTS ffmpeg 0 7:4.4.2-0ubuntu0.22.04.1+esm7
Ubuntu:Pro:24.04:LTS ffmpeg 0 7:6.1.1-3ubuntu5+esm3
openSUSE:Leap 15.6 ffmpeg 0 3.4.2-150200.11.60.1
openSUSE:Leap 15.6 ffmpeg-4 0 4.4.5-150600.13.16.1
openSUSE:Tumbleweed ffmpeg-4 0 4.4.5-3.1
openSUSE:Tumbleweed ffmpeg-6 0 6.1.2-3.1
openSUSE:Tumbleweed ffmpeg-7 0 7.1-3.1

Related vulnerabilities