FFmpeg 4.0.1 libavcodec/vc1_block.c vc1_put_blocks_clamped mqaunt out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in FFmpeg 4.0.1 (Multimedia Processing Software). It has been declared as critical. Affected by this vulnerability is the function vc1_put_blocks_clamped of the file libavcodec/vc1_block.c. The manipulation of the argument mqaunt as part of a Negative Value leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

In FFmpeg 4.0.1, due to a missing check for negative values of the mqaunt variable, the vc1_put_blocks_clamped function in libavcodec/vc1_block.c may trigger an out-of-array access while converting a crafted AVI file to MPEG4, leading to an information disclosure or a denial of service.

The bug was discovered 06/27/2018. The weakness was disclosed 07/05/2018 (Website). It is possible to read the advisory at github.com. This vulnerability is known as CVE-2018-13305 since 07/05/2018. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 8 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 120152 (SUSE SLED15 / SLES15 Security Update : ffmpeg (SUSE-SU-2018:3609-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. A possible mitigation has been published 5 months after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (120152). The entries 120426, 120425, 120424 and 120423 are pretty similar.






CPE 2.3info

CPE 2.2info


VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍


VulDB Meta Base Score: 7.2
VulDB Meta Temp Score: 7.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Out-of-bounds
CWE: CWE-125 / CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 120152
Nessus Name: SUSE SLED15 / SLES15 Security Update : ffmpeg (SUSE-SU-2018:3609-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: github.com


06/27/2018 🔍
07/05/2018 +7 days 🔍
07/05/2018 +0 days 🔍
07/05/2018 +0 days 🔍
07/05/2018 +0 days 🔍
11/02/2018 +120 days 🔍
01/02/2019 +61 days 🔍
04/03/2023 +1552 days 🔍


Product: ffmpeg.org

Advisory: d08d4a8c7387e758d439b0592782e4cfa2b4d6a4
Status: Not defined

CVE: CVE-2018-13305 (🔍)
See also: 🔍


Created: 07/05/2018 11:19 PM
Updated: 04/03/2023 02:59 PM
Changes: 07/05/2018 11:19 PM (66), 02/25/2020 09:22 PM (7), 04/03/2023 02:59 PM (5)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!