GD Graphics Library 2.2.5 gd_wbmp.c gdImage*Ptr double free

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.
8.4$0-$5k0.00

Summaryinfo

A vulnerability was found in GD Graphics Library 2.2.5. It has been declared as critical. This vulnerability affects the function gdImage*Ptr of the file gd_gif_out.c/gd_jpeg.c/gd_wbmp.c. Executing a manipulation as part of Library can lead to double free. This vulnerability is handled as CVE-2019-6978. The attack can be executed remotely. There is not any exploit available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in GD Graphics Library 2.2.5 (Image Processing Software). This vulnerability affects the function gdImage*Ptr of the file gd_gif_out.c/gd_jpeg.c/gd_wbmp.c. The manipulation as part of a Library leads to a double free vulnerability. The CWE definition for the vulnerability is CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c. NOTE: PHP is unaffected.

The bug was discovered 01/15/2019. The weakness was released 01/28/2019 (Website). The advisory is shared for download at github.com. This vulnerability was named CVE-2019-6978 since 01/28/2019. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 13 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 121483 (Debian DLA-1651-1 : libgd2 security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176579 (Debian Security Update for libgd2 (DSA 4384-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (121483) and SecurityFocus (BID 106731†). Entries connected to this vulnerability are available at VDB-111901, VDB-123055 and VDB-130273. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Double free
CWE: CWE-415 / 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 121483
Nessus Name: Debian DLA-1651-1 : libgd2 security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: github.com

Timelineinfo

01/15/2019 🔍
01/26/2019 +11 days 🔍
01/28/2019 +2 days 🔍
01/28/2019 +0 days 🔍
01/28/2019 +0 days 🔍
01/28/2019 +0 days 🔍
01/30/2019 +2 days 🔍
01/31/2019 +1 days 🔍
07/03/2023 +1614 days 🔍

Sourcesinfo

Advisory: RHSA-2019:2722
Status: Confirmed

CVE: CVE-2019-6978 (🔍)
GCVE (CVE): GCVE-0-2019-6978
GCVE (VulDB): GCVE-100-130276
SecurityFocus: 106731 - LibGD CVE-2019-6977 Heap Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 01/28/2019 16:25
Updated: 07/03/2023 14:57
Changes: 01/28/2019 16:25 (75), 05/06/2020 12:09 (5), 07/03/2023 14:57 (5)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!