Cloudanix VulnDB

CVE-2024-35365

None

CVSS

—

EPSS

0.7%

Published

Jan 3, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in widely used media software can let attackers crash programs or potentially take control by supplying a specially made file.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Full Compromise
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Double-free vulnerability in new_stream_audio within fftools/ffmpeg_mux_init.c allowing memory corruption during audio stream initialization.

Why it matters to the business

Media processing pipelines using FFmpeg may crash or become compromised when handling specially crafted inputs, leading to workflow disruptions and potential data exposure in environments reliant on video or audio encoding.

How an attack unfolds

An attacker supplies a malicious media file containing an audio stream that triggers the double-free condition in the muxer initialization path when processed by vulnerable FFmpeg builds.

How to fix it

Upgrade FFmpeg to a build containing commit ced5c5fdb8634d39ca9472a2026b2d2fea16c4e5 or later; rebuild any dependent applications against the patched version.

How to confirm the fix worked

Verify the installed FFmpeg commit or source revision matches or exceeds ced5c5fdb8634d39ca9472a2026b2d2fea16c4e5; recompile test binaries and confirm absence of the vulnerable function pattern.

Typical attack path

  1. Prepare a crafted input file designed to exercise the audio stream initialization code path
  2. Invoke FFmpeg via command line, API, or integration point to process the file
  3. Trigger double-free during new_stream_audio execution resulting in memory corruption
  4. Leverage corruption for denial of service or potential code execution

How to detect it

Review process crash logs and core dumps from FFmpeg instances for signs of heap corruption; inspect application logs for unexpected terminations during audio stream handling.

What your security team should do

  • Apply the fixed commit across all FFmpeg deployments immediately given widespread use in media pipelines
  • Scan build systems and containers for outdated GIT checkouts of ffmpeg
  • Review and harden any media ingestion workflows that accept untrusted inputs

The record

FFmpeg version n6.1.1 has a double-free vulnerability in the fftools/ffmpeg_mux_init.c component of FFmpeg, specifically within the new_stream_audio function.

Affected packages

Ecosystem Package Introduced Fixed
Debian:13 ffmpeg 0 7:7.0.1-3
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-LTSS ffmpeg 0 3.4.2-150200.11.60.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 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 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 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
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:18.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:20.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:22.04:LTS ffmpeg 0 No fix
Ubuntu:Pro:24.04:LTS ffmpeg 0 7:6.1.1-3ubuntu5+esm5
openSUSE:Leap 15.6 ffmpeg 0 3.4.2-150200.11.60.1
openSUSE:Tumbleweed ffmpeg-6 0 6.1.2-3.1
openSUSE:Tumbleweed ffmpeg-7 0 7.1-3.1

Related vulnerabilities