CVE-2023-49528
High · 8.0CVSS
8.0
EPSS
0.4%
Published
Apr 12, 2024
CISA due date
—
Cloudanix analysis
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
- Locate a system running the vulnerable FFmpeg version
- Prepare a specially crafted input file targeting the af_dialoguenhance de_stereo component
- Invoke FFmpeg locally with the malicious file
- 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
- CVE-2025-0518 Unchecked Return Value, Out-of-bounds Read vulnerability in FFmpeg allows Read Sensitive… Also affects ffmpeg
- CVE-2023-6601 A flaw was found in FFmpeg's HLS demuxer. Also affects ffmpeg
- CVE-2023-6604 A flaw was found in FFmpeg. Also affects ffmpeg
- CVE-2023-6605 A flaw was found in FFmpeg's DASH playlist support. Also affects ffmpeg
- CVE-2024-36613 FFmpeg n6.1.1 has a vulnerability in the DXA demuxer of the libavformat library allowing… Also affects ffmpeg
- CVE-2023-6603 A flaw was found in FFmpeg's HLS playlist parsing. Also affects ffmpeg
- CVE-2023-6602 A flaw was found in FFmpeg's TTY Demuxer. Also affects ffmpeg
- CVE-2024-35368 FFmpeg n7.0 is affected by a Double Free via the rkmpp_retrieve_frame function within… Also affects ffmpeg