CVE-2024-36615
NoneCVSS
—
EPSS
0.4%
Published
Nov 29, 2024
CISA due date
—
Cloudanix analysis
A flaw in video software can cause crashes or bad output when handling certain video files in multi-threaded environments, so organizations should update the software to prevent disruptions.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Other
- Component
- Library
- Class
- Race Condition
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Race condition in the VP9 decoder allows concurrent attachment of side data in the decoder thread while the output thread reads it, resulting in a data race when video encoding parameters are exported.
Why it matters to the business
Applications using FFmpeg for VP9 video processing may experience crashes, corrupted output, or unpredictable behavior during multi-threaded decoding, potentially disrupting media pipelines and requiring urgent updates across dependent systems.
How an attack unfolds
An attacker supplies a specially crafted VP9 video stream to an application that uses the affected FFmpeg decoder; if encoding parameters are exported during processing, the race between threads can be triggered to cause undefined behavior or crashes.
How to fix it
Upgrade FFmpeg to the commit 0ba058579f332b3060d8470a04ddd3fbf305be61 or later; rebuild any dependent applications against the fixed version and test VP9 decoding paths under concurrent workloads.
How to confirm the fix worked
Confirm the installed FFmpeg binary or library reports a version containing commit 0ba058579f332b3060d8470a04ddd3fbf305be61; run multi-threaded VP9 decode tests with parameter export enabled and verify absence of data-race symptoms via thread sanitizers.
Typical attack path
- Deliver a VP9-encoded video file or stream containing parameters that trigger side-data export.
- Ensure the target application invokes the VP9 decoder in a multi-threaded configuration.
- Trigger concurrent access to side data from decoder and output threads.
- Observe or exploit resulting data race for denial of service or further impact.
How to detect it
Monitor application logs for VP9 decoder crashes or unexpected side-data handling errors during concurrent video processing; review thread-sanitizer reports or core dumps from media pipelines for race-condition indicators.
What your security team should do
- Prioritize patching all FFmpeg installations to the fixed commit within the next maintenance window.
- Inventory downstream applications and libraries that statically or dynamically link FFmpeg and schedule coordinated updates.
- Enable thread sanitizers or equivalent runtime checks in CI pipelines for media-processing code until patches are deployed.
The record
FFmpeg n7.0 has a race condition vulnerability in the VP9 decoder. This could lead to a data race if video encoding parameters were being exported, as the side data would be attached in the decoder thread while being read in the output thread.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | ffmpeg | 0 | No fix |
| Debian:12 | ffmpeg | 0 | No fix |
| Debian:13 | ffmpeg | 0 | 7:7.1-3 |
| 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 |
| 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