Critical DoS Vulnerability in FFmpeg Package - CVE-2017-14223

ffmpeg Updated 02 Oct 2025

Summary

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

ALPINE-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 versions < 3.1.11-r0. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

FFmpeg is a widely-used open-source multimedia framework that allows users to record, convert, and stream audio and video. It supports numerous codecs and formats, making it a versatile tool for media processing. However, certain versions of FFmpeg are vulnerable to a denial-of-service (DoS) attack due to improper handling of specific file formats, particularly ASF files.

Vulnerability Detail

The vulnerability, identified as CVE-2017-14223, exists in the libavformat/asfdec_f.c file of FFmpeg version 3.3.3. It arises from a lack of an EOF (End of File) check in the asf_build_simple_index() function. When a specially crafted ASF file is processed, which claims a large 'ict' field in the header but lacks sufficient backing data, the for loop within the function can lead to excessive CPU and memory consumption, potentially crashing the application or causing it to become unresponsive.

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

As a temporary measure, users can avoid processing untrusted ASF files or implement additional checks in their applications to validate the integrity of the files before processing them.

Conclusion

The CVE-2017-14223 vulnerability in FFmpeg poses a significant risk due to its potential to cause denial of service through malformed ASF files. Users are strongly advised to update to the latest patched versions to mitigate this risk and ensure the stability of their applications.

See every vulnerability recorded for ffmpeg →

Share this vulnerability

FAQ

CVE-2017-14223 is a vulnerability in FFmpeg that can lead to denial of service due to excessive CPU and memory usage when processing malformed ASF files.

FFmpeg versions prior to 3.1.11-r0 for Alpine v3.4 and v3.5, 3.2.8-r0 for Alpine v3.6, and 3.3.4-r0 for Alpine v3.7 are affected by this vulnerability.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

If exploited, this vulnerability can lead to denial of service, causing applications to consume excessive resources and potentially crash.

Yes, as a workaround, avoid processing untrusted ASF files and implement additional validation checks in your application.

Related vulnerabilities

Recent vulnerabilities recorded for ffmpeg.

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