Denial of Service Vulnerability in FFmpeg Package

ffmpeg Updated 02 Oct 2025

Summary

31/08/2017
N/A
Yes i
Medium
6.5

ALPINE-CVE-2017-14058: In FFmpeg 2.4 and 3.3.3, the read_data function in libavformat/hls.c does not restrict reload attempts for an insufficient list, which allows remote attackers to cause a denial of service (infinite loop). 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

FFmpeg is a widely-used open-source multimedia framework that enables users to record, convert, and stream audio and video. It supports various formats and codecs, making it a versatile tool for media processing. However, certain versions of FFmpeg are vulnerable to a denial of service attack due to improper handling of reload attempts in the HLS (HTTP Live Streaming) protocol.

Vulnerability Detail

The vulnerability identified as CVE-2017-14058 affects FFmpeg versions 2.4 and 3.3.3, specifically within the read_data function in libavformat/hls.c. This function does not adequately restrict reload attempts for an insufficient list, allowing remote attackers to exploit this flaw and trigger an infinite loop. The consequence of this vulnerability is a denial of service, rendering the application unresponsive and potentially affecting any services relying on FFmpeg for media processing.

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, consider restricting access to the FFmpeg service or disabling the HLS functionality until the package can be updated. This can help mitigate the risk of exploitation while a permanent fix is being implemented.

Conclusion

The CVE-2017-14058 vulnerability in FFmpeg poses a significant risk of denial of service due to improper handling of reload attempts. It is crucial for users to update to the patched versions of the package to mitigate this risk. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for ffmpeg →

Share this vulnerability

FAQ

CVE-2017-14058 is a vulnerability in FFmpeg that allows remote attackers to cause a denial of service due to an infinite loop in the read_data function.

FFmpeg versions 2.4 and 3.3.3 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for this vulnerability is 6.5, indicating a moderate level of risk.

If an immediate update is not possible, consider implementing access restrictions or disabling the HLS functionality as a temporary workaround.

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