GD Graphics Library up to 2.2.3 gdImageWebPtr width/height double free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.6 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.8VulDB 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: 🔍
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: Double freeCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: GD Graphics Library 2.2.4
Patch: github.com
Timeline
08/22/2016 🔍01/23/2017 🔍
01/24/2017 🔍
01/26/2017 🔍
01/26/2017 🔍
01/26/2017 🔍
01/26/2017 🔍
01/26/2017 🔍
11/04/2022 🔍
Sources
Advisory: a49feeae76d41959d85ee733925a4cf40bac61b2Researcher: 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: 🔍
Entry
Created: 01/26/2017 22:01Updated: 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.
No comments yet. Languages: en.
Please log in to comment.