Vulnerability record · CVE-2016-5116 · published 7 August 2016
CVE-2016-5116: Libgd memory buffer overflow vulnerability
Libgd · Libgd
gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain custom PHP 5.5.x configurations, allows context-dependent attackers to obtain sensitive information from process memory or cause a denial of service (stack-based buffer under-read and application crash) via a long name.
Description
gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain custom PHP 5.5.x configurations, allows context-dependent attackers to obtain sensitive information from process memory or cause a denial of service (stack-based buffer under-read and application crash) via a long name.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html | Third Party Advisory |
| http://www.debian.org/security/2016/dsa-3619 | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2016/05/29/5 | Mailing List |
| http://www.ubuntu.com/usn/USN-3030-1 | |
| https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4 | Issue TrackingPatchThird Party Advisory |
| https://github.com/libgd/libgd/issues/211 | Issue TrackingThird Party Advisory |
| http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html | Third Party Advisory |
| http://www.debian.org/security/2016/dsa-3619 | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2016/05/29/5 | Mailing List |
| http://www.ubuntu.com/usn/USN-3030-1 | |
| https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4 | Issue TrackingPatchThird Party Advisory |
| https://github.com/libgd/libgd/issues/211 | Issue TrackingThird Party Advisory |
Track CVE-2016-5116 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2016-5116), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.