Skip to content
Fencer Vulns
critical 9.8

CVE-2016-6912 json

Double free vulnerability in the gdImageWebPtr function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have…

published 2017-01-26 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7797

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.5%
EPSS 4.5% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • libgd2 Debian 14, Debian 13, Debian 12 2.2.4-1

debian advisories DEBIAN-CVE-2016-6912

  • libgd2 Ubuntu 14.04 LTS 2.1.0-3ubuntu0.6
  • libgd2 Ubuntu 16.04 LTS 2.1.1-4ubuntu0.16.04.6

ubuntu advisories UBUNTU-CVE-2016-6912

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gd SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +8 more 2.1.0-23.1

suse advisories SUSE-SU-2017:0468-1

  • gd openSUSE Tumbleweed 2.3.3-1.1

opensuse advisories openSUSE-SU-2024:10777-1

  • gd Alpine 3.5, Alpine 3.4, Alpine 3.3 2.2.4-r0

alpine advisories ALPINE-CVE-2016-6912

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-6912 updated cvss 8.1

php: Double free in gdImageWebpPtr()

  • Red Hat Enterprise Linux 5 gd, php, php53, libwmf Red Hat Enterprise Linux 6 gd, php, libwmf, php-gd, php-cli, php-dba, +24 more Red Hat Enterprise Linux 7 gd, php, libwmf, php-gd, php-cli, php-dba, +22 more Red Hat OpenShift Enterprise 2 gd, php Red Hat Software Collections rh-php56-php, rh-php70-php, rh-php56-php-gd, rh-php70-php-gd, rh-php56-php-cli, rh-php56-php-dba, +52 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.49% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.