Cloudanix VulnDB

CVE-2023-49528

High · 8.0

CVSS

8.0

EPSS

0.4%

Published

Apr 12, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A media handling tool can be tricked by a specially made file on the same computer into running unwanted code or shutting down.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in af_dialoguenhance.c:261:5 within the de_stereo component allows local attackers to execute arbitrary code or trigger denial of service.

Why it matters to the business

Organizations relying on FFmpeg for media processing face risk of local code execution or service disruption when untrusted inputs are handled, potentially leading to system compromise without remote access.

How an attack unfolds

A local attacker crafts a malicious media file that triggers the buffer overflow in the de_stereo processing path when FFmpeg processes it, resulting in arbitrary code execution or a crash.

How to fix it

Upgrade FFmpeg to a patched release that resolves the buffer overflow in af_dialoguenhance.c; rebuild any dependent applications against the fixed library; restrict local execution of FFmpeg on untrusted inputs until updated.

How to confirm the fix worked

Verify the installed FFmpeg version is newer than n6.1-3-g466799d4f5; run regression tests with known triggering media files; confirm absence of the vulnerable code path via source review or binary diffing.

Typical attack path

  1. Locate a system running the vulnerable FFmpeg version
  2. Prepare a specially crafted input file targeting the af_dialoguenhance de_stereo component
  3. Invoke FFmpeg locally with the malicious file
  4. Trigger the overflow to execute code or cause DoS

How to detect it

Search process logs and crash reports for FFmpeg segmentation faults or unexpected terminations during media processing; review command-line invocations involving af_dialoguenhance or de_stereo; inspect local file access patterns around FFmpeg execution.

What your security team should do

  • Prioritize patching FFmpeg installations on all systems processing media
  • Limit execution of FFmpeg to trusted users and inputs
  • Monitor for new fixed versions from the FFmpeg project
  • Review local media processing workflows for exposure

The record

Buffer Overflow vulnerability in FFmpeg version n6.1-3-g466799d4f5, allows a local attacker to execute arbitrary code and cause a denial of service (DoS) via the af_dialoguenhance.c:261:5 in the de_stereo component.

Affected packages

Ecosystem Package Introduced Fixed
Debian:12 ffmpeg 0 No fix
Debian:13 ffmpeg 0 7:7.0.1-3
Mageia:9 ffmpeg 0 5.1.6-1.1.mga9
Mageia:9 ffmpeg 0 5.1.6-1.1.mga9.tainted
Ubuntu:23.10 ffmpeg 0 7:6.0-6ubuntu1.1
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 7:2.8.17-0ubuntu0.1+esm7
Ubuntu:Pro:18.04:LTS ffmpeg 0 7:3.4.11-0ubuntu0.1+esm5
Ubuntu:Pro:20.04:LTS ffmpeg 0 7:4.2.7-0ubuntu0.1+esm5
Ubuntu:Pro:22.04:LTS ffmpeg 0 7:4.4.2-0ubuntu0.22.04.1+esm4
Ubuntu:Pro:24.04:LTS ffmpeg 0 7:6.1.1-3ubuntu5+esm1
openSUSE:Tumbleweed ffmpeg-5 0 5.1.4-5.1
openSUSE:Tumbleweed ffmpeg-6 0 6.1.1-4.1

Related vulnerabilities