FFmpeg 1.0 Dimensions libavcodec/roqvideodec.c roq_decode_init input validation

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 classified as critical has been found in FFmpeg 1.0 (Multimedia Processing Software). Affected is the function roq_decode_init of the file libavcodec/roqvideodec.c of the component Dimensions Handler. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

The roq_decode_init function in libavcodec/roqvideodec.c in FFmpeg before 1.1 allows remote attackers to have an unspecified impact via a crafted (1) width or (2) height dimension that is not a multiple of sixteen in id RoQ video data.

The issue has been introduced in 09/30/2012. The weakness was disclosed 11/29/2012 by Mateusz Jurczyk and Gynvael Coldwind (j00ru) with Google Security Team as roqvideodec: check dimensions validity as confirmed git commit (GIT Repository). The advisory is available at git.videolan.org. The public release has been coordinated in cooperation with the vendor. This vulnerability is traded as CVE-2013-0849 since 01/07/2013. The exploitability is told to be difficult. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 60 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 72355 (Debian DSA-2855-1 : libav - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175271 (Debian Security Update for libav (DSA-2855-1)).

Upgrading to version 1.1 eliminates this vulnerability. The upgrade is hosted for download at git.videolan.org. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.videolan.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (89879) and Tenable (72355).






CPE 2.3info

CPE 2.2info


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


VulDB Meta Base Score: 8.1
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.1
VulDB Temp Score: 7.7
VulDB Vector: 🔍
VulDB Reliability: 🔍



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

NVD Base Score: 🔍


Class: Input validation

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 72355
Nessus Name: Debian DSA-2855-1 : libav - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 702855
OpenVAS Name: Debian Security Advisory DSA 2855-1 (libav - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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


Recommended: Upgrade
Status: 🔍

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

Upgrade: FFmpeg 1.1
Patch: git.videolan.org


09/30/2012 🔍
11/29/2012 +60 days 🔍
11/29/2012 +0 days 🔍
12/12/2012 +13 days 🔍
12/12/2012 +0 days 🔍
01/07/2013 +26 days 🔍
06/17/2013 +161 days 🔍
12/07/2013 +173 days 🔍
04/24/2014 +138 days 🔍
05/17/2021 +2580 days 🔍


Product: ffmpeg.org

Advisory: roqvideodec: check dimensions validity
Researcher: Mateusz Jurczyk, Gynvael Coldwind (j00ru)
Organization: Google Security Team
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-0849 (🔍)

X-Force: 89879
Vulnerability Center: 44239 - FFmpeg <1.1 Unspecified Remote Vulnerability in roqvideodec.c, Critical
SecurityFocus: 63796 - FFmpeg and Libav Multiple Remote Security Vulnerabilities
OSVDB: 94256


Created: 06/17/2013 10:44 AM
Updated: 05/17/2021 07:15 AM
Changes: 06/17/2013 10:44 AM (83), 05/26/2017 03:50 AM (5), 05/17/2021 07:15 AM (3)
Complete: 🔍
Cache ID: 3:607:40


No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!