FFmpeg up to 0.10 libswscale/utils.c sws_init_context memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in FFmpeg up to 0.10. It has been rated as problematic. This issue affects the function sws_init_context in the library libswscale/utils.c. The manipulation leads to memory corruption.
This vulnerability is referenced as CVE-2012-0947. Remote exploitation of the attack is possible. No exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability was found in FFmpeg up to 0.10 (Multimedia Processing Software). It has been rated as critical. This issue affects the function sws_init_context in the library libswscale/utils.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Heap-based buffer overflow in the vqa_decode_chunk function in the VQA codec (vqavideo.c) in libavcodec in Libav 0.5.x before 0.5.9, 0.6.x before 0.6.6, 0.7.x before 0.7.6, and 0.8.x before 0.8.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted VQA media file in which the image size is not a multiple of the block size.
The weakness was published 03/27/2012 by Fabian Yamaguchi (Website). It is possible to read the advisory at ffmpeg.org. The identification of this vulnerability is CVE-2012-0947 since 02/01/2012. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 59094 (Debian DSA-2471-1 : ffmpeg - 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 175239 (Debian Security Update for FFmpeg (DSA-2471)).
Upgrading to version 0.10.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (75436), Tenable (59094), SecurityFocus (BID 53389†), OSVDB (81062†) and Secunia (SA48770†). Similar entries are available at VDB-5073, VDB-5074, VDB-61702 and VDB-61697. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://ffmpeg.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.5
VulDB Base Score: 10.0
VulDB Temp Score: 9.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 59094
Nessus Name: Debian DSA-2471-1 : ffmpeg - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 892471
OpenVAS Name: Debian Security Advisory DSA 2471-1 (ffmpeg - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: FFmpeg 0.10.1
Timeline
02/01/2012 🔍03/27/2012 🔍
03/27/2012 🔍
04/09/2012 🔍
04/12/2012 🔍
04/13/2012 🔍
05/03/2012 🔍
05/23/2012 🔍
07/26/2012 🔍
08/20/2012 🔍
03/22/2021 🔍
Sources
Product: ffmpeg.orgAdvisory: ffmpeg.org
Researcher: Fabian Yamaguchi
Status: Not defined
Confirmation: 🔍
CVE: CVE-2012-0947 (🔍)
GCVE (CVE): GCVE-0-2012-0947
GCVE (VulDB): GCVE-100-5075
OVAL: 🔍
X-Force: 75436
SecurityFocus: 53389 - FFmpeg libavcodec 'vqavideo.c' '.vaq' File Heap Memory Corruption Vulnerability
Secunia: 48770 - FFmpeg Multiple Vulnerabilities, Moderately Critical
OSVDB: 81062
Vulnerability Center: 35740 - Ffmpeg Before 0.10.0 Remote Code Execution via a Crafted VQA File, Medium
See also: 🔍
Entry
Created: 04/13/2012 15:00Updated: 03/22/2021 18:20
Changes: 04/13/2012 15:00 (69), 04/14/2019 13:09 (13), 03/22/2021 18:20 (2)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.