Buffer overflow in Libgd

CVE-2016-5116

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.

Vulnerability class: Buffer Overflow

EPSS: 0.038 (88.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_SUSE)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory, Issue Tracking)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory)
  • cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory, Issue Tracking)

Frequently asked questions

What is CVE-2016-5116?
CVE-2016-5116 is a critical-severity vulnerability in Libgd, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.1/10. Published 2016-08-07.
How severe is CVE-2016-5116?
Critical severity. CVSS v3 base score is 9.1 out of 10.