9.8
CRITICAL CVSS 3.0
CVE-2016-6912
GD Graphics Library (libgd) Double Free Vulnerability
Description

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.

INFO

Published Date :

Jan. 26, 2017, 3:59 p.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2016-6912 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Libgd libgd
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 CRITICAL [email protected]
Solution
Follow the instructions below to mitigate the CVE-2016-6912 vulnerability.
Update the affected packages.
Public PoC/Exploit Available at Github

CVE-2016-6912 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-6912 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-6912 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

GitHub Actions demo for Lacework Scanner

Dockerfile Shell

Updated: 1 year, 11 months ago
4 stars 1 fork 1 watcher
Born at : Sept. 16, 2021, 5:31 a.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-6912 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-6912 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3777
    Added Reference http://www.securityfocus.com/bid/95843
    Added Reference https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md
    Added Reference https://github.com/libgd/libgd/commit/a49feeae76d41959d85ee733925a4cf40bac61b2
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3777 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 01, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/95843 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 26, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md No Types Assigned https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md Release Notes, Patch
    Changed Reference Type https://github.com/libgd/libgd/commit/a49feeae76d41959d85ee733925a4cf40bac61b2 No Types Assigned https://github.com/libgd/libgd/commit/a49feeae76d41959d85ee733925a4cf40bac61b2 Vendor Advisory, Patch
    Added CWE CWE-415
    Added CPE Configuration OR *cpe:2.3:a:libgd:libgd:2.2.3:*:*:*:*:*:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.94 }} -2.65%

score

0.74108

percentile