CVE-2016-5116

CRITICALNVD 9.19.1
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.1 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-14. NVD baseline CVSS 9.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 5 sources updated this week

Also known asEUVD-2016-6067 (ENISA EUVD) · GHSA-mvgw-h4r7-8g56 (GitHub Security Advisories)Source: ENISA EUVD

9.1EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 3.8%CVSS: 9.1Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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 v3
9.1
EG Score
9.1CRITICALmedium confidence
EG Risk
42
EG Risk 42/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity91% × 45%
Impact severity (EG Severity): CVSS 9.1 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation3.8% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
3.8%
EPSS %ILE
90th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.1): severity, escalated by confirmed exploitation. This CVE's 9.1 is its impact severity (EG Severity), not escalated.

EG Severity
9.1 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
3.8% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

August 7, 2016

Last Modified

June 17, 2026

Advisory Details (4)

Auto-updated Aug 1, 2026
Patch available. Sources: github_commit.
Web page

oss-security - Re: CVE Request: libgd - gdCtxPrintf memory leak

http://www.openwall.com/lists/oss-security/2016/05/29/5
Web page

[SECURITY] [DSA 3619-1] libgd2 security update

http://www.debian.org/security/2016/dsa-3619
Web page

gdCtxPrintf vsnprintf return value not checked - leaks stack memory · Issue #211 · libgd/libgd · GitHub

https://github.com/libgd/libgd/issues/211
GitHub commit Patch Available

commit 4dc1a2d79310 (libgd/libgd)

Patch available: libgd/libgd gd-2.2.0 (contains commit 4dc1a2d79310)

https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4

Patch Availability(1)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntulibgd3 (2.1.1-4ubuntu0.15.10.2) @ wily2026-11-02ubuntu

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(7 across 7 ecosystems)
Alpine:v3.2(1)
PackageVulnerable rangeFix by version rangeDependents
gd—
  • every version up to 2.2.1-r2: fixed in 2.2.1-r2
—
Alpine:v3.3(1)
PackageVulnerable rangeFix by version rangeDependents
gd—
  • every version up to 2.2.1-r2: fixed in 2.2.1-r2
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
libgd2—
  • every version up to 2.2.1-1: fixed in 2.2.1-1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
libgd2—
  • every version up to 2.2.1-1: fixed in 2.2.1-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
libgd2—
  • every version up to 2.2.1-1: fixed in 2.2.1-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
libgd2—
  • every version up to 2.2.1-1: fixed in 2.2.1-1
—
Debian:8(1)
PackageVulnerable rangeFix by version rangeDependents
libgd22.1.0-5, 2.1.0-5+deb8u1, 2.1.0-5+deb8u2, 2.1.0-5+deb8u3
  • every version up to 2.1.0-5+deb8u4: fixed in 2.1.0-5+deb8u4
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(1)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 29× in last 7d / 89× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 99 of 242 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 143 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-02 11:25 UTCOSV refresh
  2. 2026-11-02 09:54 UTCEG score recompute
  3. 2026-11-02 09:54 UTCVendor advisory
  4. 2026-11-02 09:53 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  5. 2026-11-01 10:18 UTCEG score recompute
  6. 2026-11-01 10:18 UTCVendor advisory
  7. 2026-11-01 10:17 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  8. 2026-10-31 16:27 UTCEPSS rescoreEPSS 3.8% · 90th percentile
  9. 2026-10-31 10:40 UTCEG score recompute
  10. 2026-10-31 10:40 UTCVendor advisory
  11. 2026-10-31 10:40 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  12. 2026-10-30 16:27 UTCEPSS rescoreEPSS 3.8% · 90th percentile
  13. 2026-10-30 11:04 UTCEG score recompute
  14. 2026-10-30 11:04 UTCVendor advisory
  15. 2026-10-30 11:03 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  16. 2026-10-29 16:27 UTCEPSS rescoreEPSS 3.8% · 90th percentile
  17. 2026-10-29 11:27 UTCEG score recompute
  18. 2026-10-29 11:27 UTCVendor advisory
  19. 2026-10-29 11:27 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  20. 2026-10-28 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  21. 2026-10-28 11:51 UTCEG score recompute
  22. 2026-10-28 11:51 UTCVendor advisory
  23. 2026-10-28 11:51 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  24. 2026-10-27 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  25. 2026-10-27 12:10 UTCEG score recompute
Show 74 more
  1. 2026-10-27 12:10 UTCVendor advisory
  2. 2026-10-27 12:10 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  3. 2026-10-26 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  4. 2026-10-26 12:33 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  5. 2026-10-25 19:46 UTCEG score recompute
  6. 2026-10-25 16:27 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  7. 2026-10-25 12:53 UTCEG score recompute
  8. 2026-10-25 12:53 UTCVendor advisory
  9. 2026-10-25 12:53 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  10. 2026-10-24 16:27 UTCEPSS rescoreEPSS 3.8% · 90th percentile
  11. 2026-10-24 13:16 UTCEG score recompute
  12. 2026-10-24 13:16 UTCVendor advisory
  13. 2026-10-24 13:15 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  14. 2026-10-23 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  15. 2026-10-23 13:39 UTCEG score recompute
  16. 2026-10-23 13:38 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  17. 2026-10-22 16:27 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  18. 2026-10-22 13:59 UTCEG score recompute
  19. 2026-10-22 13:59 UTCVendor advisory
  20. 2026-10-22 13:59 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  21. 2026-10-21 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  22. 2026-10-21 14:21 UTCEG score recompute
  23. 2026-10-21 14:21 UTCVendor advisory
  24. 2026-10-21 14:21 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  25. 2026-10-20 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  26. 2026-10-20 14:13 UTCEG score recompute
  27. 2026-10-20 14:13 UTCVendor advisory
  28. 2026-10-20 14:13 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  29. 2026-10-19 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  30. 2026-10-19 13:17 UTCEG score recompute
  31. 2026-10-19 13:17 UTCVendor advisory
  32. 2026-10-19 13:16 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  33. 2026-10-18 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  34. 2026-10-18 12:23 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  35. 2026-10-18 10:48 UTCEG score recompute
  36. 2026-10-17 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  37. 2026-10-17 12:24 UTCEG score recompute
  38. 2026-10-17 12:24 UTCVendor advisory
  39. 2026-10-17 12:24 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  40. 2026-10-16 16:28 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  41. 2026-10-16 12:47 UTCEG score recompute
  42. 2026-10-16 12:47 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  43. 2026-10-15 16:26 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  44. 2026-10-15 13:09 UTCEG score recompute
  45. 2026-10-15 13:09 UTCVendor advisory
  46. 2026-10-15 13:09 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  47. 2026-10-14 16:27 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  48. 2026-10-14 08:17 UTCEG score recompute
  49. 2026-10-14 08:17 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  50. 2026-10-13 16:27 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  51. 2026-10-13 03:31 UTCVendor advisory
  52. 2026-10-13 03:30 UTCGHSA enrichmentGHSA-mvgw-h4r7-8g56 · GitHub severity CRITICAL · GitHub CVSS 9.1
  53. 2026-10-12 20:42 UTCEG score recompute
  54. 2026-10-12 16:27 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  55. 2026-10-12 01:05 UTCEG score recompute
  56. 2026-10-11 13:40 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  57. 2026-10-10 19:54 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  58. 2026-10-09 20:01 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  59. 2026-10-08 16:35 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  60. 2026-10-08 16:05 UTCOSV refresh
  61. 2026-10-07 23:40 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  62. 2026-10-06 15:11 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  63. 2026-10-05 17:38 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  64. 2026-10-03 14:21 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  65. 2026-10-01 19:43 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  66. 2026-09-30 14:58 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  67. 2026-09-30 09:14 UTCEG score recompute
  68. 2026-09-28 13:45 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  69. 2026-09-27 13:40 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  70. 2026-09-26 15:53 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  71. 2026-09-24 13:59 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  72. 2026-09-23 13:41 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  73. 2026-09-19 15:35 UTCEPSS rescoreEPSS 3.8% · 89th percentile
  74. 2026-09-18 22:06 UTCOSV refresh

Frequently asked(5)

What is CVE-2016-5116?
CVE-2016-5116 is a critical-severity vulnerability; its CVE record was published on August 7, 2016. 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.
When was CVE-2016-5116 made public?
CVE-2016-5116 was made public on May 29, 2016: that is the date its CVE record's CNA, MITRE Corporation, gives for when the vulnerability was made public. The CVE record itself was published on August 7, 2016. EchelonGraph's copy of the record carries a last-modified date of June 17, 2026; the record at its source may have been updated since.
Is CVE-2016-5116 actively exploited?
CVE-2016-5116 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 3.8% probability of exploitation in the next 30 days (90th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2016-5116?
CVE-2016-5116 has a CVSS v3 base score of 9.1 (NVD).
How do I remediate CVE-2016-5116?
A fix for CVE-2016-5116 is available: update to the fixed version the vendor names in its advisory.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2016-5116

Explore →

Is Your Infrastructure Affected by CVE-2016-5116?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.