FFmpeg up to 2.8.5 TGA File libavcodec/gif.c memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in FFmpeg up to 2.8.5. The impacted element is the function gif_image_write_image/gif_encode_init/gif_encode_close of the file libavcodec/gif.c of the component TGA File Handler. The manipulation leads to memory corruption.
This vulnerability is referenced as CVE-2016-2330. Remote exploitation of the attack is possible. No exploit is available.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in FFmpeg up to 2.8.5 (Multimedia Processing Software). It has been rated as critical. This issue affects the function gif_image_write_image/gif_encode_init/gif_encode_close of the file libavcodec/gif.c of the component TGA File Handler. 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:
libavcodec/gif.c in FFmpeg before 2.8.6 does not properly calculate a buffer size, which allows remote attackers to cause a denial of service (out-of-bounds array access) or possibly have unspecified other impact via a crafted .tga file, related to the gif_image_write_image, gif_encode_init, and gif_encode_close functions.
The weakness was published 02/12/2016 as confirmed git commit (GIT Repository). The advisory is shared at git.videolan.org. The identification of this vulnerability is CVE-2016-2330 since 02/11/2016. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 90349 (Ubuntu 12.04 LTS : libav vulnerabilities (USN-2944-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196441 (Ubuntu Security Notification for Libav Vulnerabilities (USN-2944-1)).
Upgrading to version 2.8.6 eliminates this vulnerability. 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 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (90349), SecurityFocus (BID 84217†) and Vulnerability Center (SBV-57389†). Similar entries are available at VDB-68316, VDB-75955, VDB-79343 and VDB-80278. Several companies clearly confirm that VulDB is the primary source for best 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: 8.8VulDB Meta Temp Score: 8.6
VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
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: 90349
Nessus Name: Ubuntu 12.04 LTS : libav vulnerabilities (USN-2944-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 841810
OpenVAS Name: Ubuntu Update for libav USN-2944-1
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 2.8.6
Patch: 03d83ba34b2070878909eae18dfac0f519503777
Timeline
02/11/2016 🔍02/12/2016 🔍
02/12/2016 🔍
02/12/2016 🔍
02/13/2016 🔍
02/25/2016 🔍
03/17/2016 🔍
04/04/2016 🔍
04/05/2016 🔍
07/08/2022 🔍
Sources
Product: ffmpeg.orgAdvisory: USN-2944-1
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-2330 (🔍)
GCVE (CVE): GCVE-0-2016-2330
GCVE (VulDB): GCVE-100-80945
SecurityFocus: 84217 - FFmpeg 'libavcodec/gif.c' CVE-2016-2330 Denial of Service Vulnerability
SecurityTracker: 1035010
Vulnerability Center: 57389 - FFmpeg Remote DoS or Code Execution in libavcodec/gif.c, Medium
See also: 🔍
Entry
Created: 02/13/2016 11:01Updated: 07/08/2022 06:22
Changes: 02/13/2016 11:01 (77), 02/01/2019 14:42 (13), 07/08/2022 06:22 (5)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.