Vulnerabilities / CVE-2016-6912

critical

CVE-2016-6912

php: Double free in gdImageWebpPtr()

Published Modified CWE 415
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.3gd2.2.4-r0
alpine 3.4gd2.2.4-r0
alpine 3.5gd2.2.4-r0
debian 11libgd22.2.4-1
debian 12libgd22.2.4-1
debian 13libgd22.2.4-1
debian 14libgd22.2.4-1
debian 8libgd22.1.0-5+deb8u9
echolibgd22.2.4-1
ubuntu 14.04libgd22.1.0-3ubuntu0.6
ubuntu 14.04-ESMlibgd22.1.0-3ubuntu0.6
ubuntu 16.04libgd22.1.1-4ubuntu0.16.04.6
Show all 14 entries from 14 sources
SourcePackageFixed in
alpine 3.3gd2.2.4-r0
alpine 3.4gd2.2.4-r0
alpine 3.5gd2.2.4-r0
debian 11libgd22.2.4-1
debian 12libgd22.2.4-1
debian 13libgd22.2.4-1
debian 14libgd22.2.4-1
debian 8libgd22.1.0-5+deb8u9
echolibgd22.2.4-1
ubuntu 14.04libgd22.1.0-3ubuntu0.6
ubuntu 14.04-ESMlibgd22.1.0-3ubuntu0.6
ubuntu 16.04libgd22.1.1-4ubuntu0.16.04.6
ubuntu 16.04-ESMlibgd22.1.1-4ubuntu0.16.04.6
ubuntu 16.10libgd22.2.1-1ubuntu3.3

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.