CVE-2024-36617
NoneCVSS
—
EPSS
0.2%
Published
Nov 29, 2024
CISA due date
—
Cloudanix analysis
A flaw in how FFmpeg reads certain audio files could let attackers crash programs or run harmful code if users or systems open specially made files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in the CAF decoder allows incorrect memory allocation or buffer sizing, resulting in memory corruption during file parsing.
Why it matters to the business
Applications relying on FFmpeg for media decoding may crash or allow arbitrary code execution when processing malicious CAF files, disrupting content pipelines and increasing incident response costs.
How an attack unfolds
An attacker crafts a specially malformed CAF file that triggers the integer overflow in the decoder; when the file is processed by any FFmpeg-based application or library, the overflow leads to memory corruption that can be leveraged for code execution or denial of service.
How to fix it
Upgrade to a build containing commit 62e1c442633e8a09a1407a789cd2b50611850788 or d973fcbcc2f944752ff10e6a76b0b2d9329937a7 in the ffmpeg repository; rebuild all dependent packages and verify the updated commit hash is present.
How to confirm the fix worked
Confirm the running FFmpeg binary or library reports a commit newer than the listed fixes; test decoding of known-good and edge-case CAF files for crashes or unexpected behavior; perform static analysis or fuzzing on the CAF decoder path.
Typical attack path
- Identify target application or service that uses FFmpeg to decode CAF files
- Craft malicious CAF file containing values that trigger integer overflow
- Deliver file via upload, email attachment, or network stream
- Trigger decoding path to induce memory corruption
- Exploit corrupted memory for code execution or crash
How to detect it
Review application logs for FFmpeg crashes or segmentation faults during CAF file processing; inspect memory dumps or core files for patterns consistent with buffer overruns in the CAF decoder; correlate file uploads of CAF containers with subsequent anomalous process behavior.
What your security team should do
- Immediately update all FFmpeg installations and rebuild dependent applications to the fixed commits
- Inventory all media-processing workflows that accept untrusted CAF or other container formats
- Implement input sanitization or sandboxing for media decoders until patches are deployed
- Monitor vulnerability feeds for any increase in exploit maturity or EPSS score
The record
FFmpeg n6.1.1 has an integer overflow vulnerability in the FFmpeg CAF decoder.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | ffmpeg | 0 | No fix |
| Debian:12 | ffmpeg | 0 | 7:5.1.5-0+deb12u1 |
| Debian:13 | ffmpeg | 0 | 7:7.0.1-3 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | ffmpeg | 0 | 3.4.2-150200.11.64.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | ffmpeg | 0 | 3.4.2-150200.11.64.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | ffmpeg | 0 | 3.4.2-150200.11.64.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | ffmpeg-4 | 0 | 4.4.6-150600.13.27.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | ffmpeg | 0 | 3.4.2-150200.11.64.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | ffmpeg-4 | 0 | 4.4.6-150600.13.27.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP6 | ffmpeg | 0 | 3.4.2-150200.11.64.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP6 | ffmpeg-4 | 0 | 4.4.6-150600.13.27.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP7 | ffmpeg | 0 | 3.4.2-150200.11.64.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP7 | ffmpeg-4 | 0 | 4.4.6-150600.13.27.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 | 7:2.8.17-0ubuntu0.1+esm9 |
| Ubuntu:Pro:18.04:LTS | ffmpeg | 0 | 7:3.4.11-0ubuntu0.1+esm7 |
| Ubuntu:Pro:20.04:LTS | ffmpeg | 0 | 7:4.2.7-0ubuntu0.1+esm7 |
| Ubuntu:Pro:22.04:LTS | ffmpeg | 0 | 7:4.4.2-0ubuntu0.22.04.1+esm6 |
| Ubuntu:Pro:24.04:LTS | ffmpeg | 0 | No fix |
| openSUSE:Leap 15.6 | ffmpeg | 0 | 3.4.2-150200.11.64.1 |
| openSUSE:Leap 15.6 | ffmpeg-4 | 0 | 4.4.6-150600.13.27.1 |
| openSUSE:Tumbleweed | ffmpeg-4 | 0 | 4.4.6-4.1 |
| openSUSE:Tumbleweed | ffmpeg-7 | 0 | 7.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