DoS Vulnerability in FFmpeg

ffmpeg Updated 02 Oct 2025

Summary

09/09/2017
N/A
Yes i
Medium
6.5

CVE-2017-14223: In libavformat/asfdec_f.c in FFmpeg 3.3.3, a DoS in asf_build_simple_index() due to lack of an EOF (End of File) check might cause huge CPU consumption. Affects ffmpeg across 3 version ranges.

< 3.1.11-r0 < 9079c70d2095643af6954001d0627445650b85a6 < afc9c683ed9db01edb357bc8c19edad4282b3a97

Fixed in 3.1.11-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

FFmpeg is a popular open-source multimedia framework used for handling audio, video, and other media files. It provides a set of libraries and tools for encoding, decoding, and streaming media content. This vulnerability affects the FFmpeg package in the Alpine Linux distribution versions 3.4, 3.5, 3.6, and 3.7.

Vulnerability Detail

The vulnerability, identified as CVE-2017-14223, exists in the asfdec_f.c file of the libavformat component in FFmpeg version 3.3.3. It is a Denial-of-Service (DoS) vulnerability caused by a lack of an EOF (End of File) check in the asf_build_simple_index() function. When a specially crafted ASF file is provided, the function enters a loop that consumes significant CPU and memory resources, leading to a DoS condition. The vulnerability can be triggered by an attacker by providing an ASF file with a large 'ict' field in the header but insufficient backing data.

How To Fix

Minimum fixed version

3.1.11-r0

This is the first release that contains the fix.

sudo apk add --upgrade ffmpeg

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The DoS vulnerability in FFmpeg can be mitigated by updating the package to the fixed versions mentioned. It is important to promptly apply the necessary updates to ensure the security and stability of systems using FFmpeg. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for ffmpeg →

Share this vulnerability

FAQ

FFmpeg is an open-source multimedia framework used for handling audio, video, and other media files. It provides libraries and tools for encoding, decoding, and streaming media content.

This vulnerability can be exploited by an attacker to cause a DoS condition in FFmpeg, leading to high CPU consumption and memory usage. This can potentially impact the availability and performance of systems using FFmpeg.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities.

The recommended mitigation is to update the FFmpeg package to the fixed versions mentioned earlier. This ensures that the vulnerability is patched and the DoS condition is prevented.

You can find more information about this vulnerability, including technical details and the CVE identifier, in the CVE-2017-14223 JSON file available at the following source: https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14223.json

Related vulnerabilities

Recent vulnerabilities recorded for ffmpeg.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.1.11-r0

This is the first release that contains the fix.

sudo apk add --upgrade ffmpeg

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback