GD Graphics Library up to 2.2.3 gdImageWebPtr width/height 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.
9.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in GD Graphics Library up to 2.2.3. This affects the function gdImageWebPtr. Performing a manipulation of the argument width/height results in double free. This vulnerability is reported as CVE-2016-6912. The attack is possible to be carried out remotely. No exploit exists. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in GD Graphics Library up to 2.2.3 (Image Processing Software). It has been classified as very critical. This affects the function gdImageWebPtr. The manipulation of the argument width/height with an unknown input leads to a double free vulnerability. CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Double free vulnerability in the gdImageWebPtr function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via large width and height values.

The bug was discovered 01/26/2017. The weakness was disclosed 01/26/2017 by Ibrahim el-sayed (Website). It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2016-6912 since 08/22/2016. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 11/04/2022).

The vulnerability scanner Nessus provides a plugin with the ID 96706 (Fedora 24 : gd (2017-2717b02630)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 276384 (Fedora Security Update for gd (FEDORA-2017-bab5698540)).

Upgrading to version 2.2.4 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (96706) and SecurityFocus (BID 95843†). The entries VDB-96026, VDB-96031 and VDB-98136 are pretty similar. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.6

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
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: 96706
Nessus Name: Fedora 24 : gd (2017-2717b02630)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703777
OpenVAS Name: Debian Security Advisory DSA 3777-1 (libgd2 - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: GD Graphics Library 2.2.4
Patch: github.com

Timelineinfo

08/22/2016 🔍
01/23/2017 +154 days 🔍
01/24/2017 +1 days 🔍
01/26/2017 +2 days 🔍
01/26/2017 +0 days 🔍
01/26/2017 +0 days 🔍
01/26/2017 +0 days 🔍
01/26/2017 +0 days 🔍
11/04/2022 +2108 days 🔍

Sourcesinfo

Advisory: a49feeae76d41959d85ee733925a4cf40bac61b2
Researcher: Ibrahim el-sayed
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-6912 (🔍)
GCVE (CVE): GCVE-0-2016-6912
GCVE (VulDB): GCVE-100-96027

OVAL: 🔍

SecurityFocus: 95843 - Libgd CVE-2016-6912 Security Bypass Vulnerability
OSVDB: - CVE-2016-6912 - GD Graphics Library - Double Free Issue

See also: 🔍

Entryinfo

Created: 01/26/2017 22:01
Updated: 11/04/2022 09:35
Changes: 01/26/2017 22:01 (75), 08/02/2020 20:52 (8), 11/04/2022 09:35 (4)
Complete: 🔍
Cache ID: 216:CD9:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!