CVE-2016-5116
publishedgd: Information leak due to stack overflow in gdCtxPrintf
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.2 | gd | Fixed | 2.2.1-r2 | Package fix record |
| Debian | jessie | libgd2 | Advisory build | 2.1.0-5+deb8u4 | DSA-3619-1 |
| SUSE / openSUSE | SLE-12-SP1 | gdppc64le | Advisory build | 2.1.0-12.1 | SUSE-SU-2016:2303-1 |
| Ubuntu | trusty | libgd-tools | Advisory build | 2.1.0-3ubuntu0.2 | USN-3030-1 |
| Alpine Linux | v3.3 | gd | Fixed | 2.2.1-r2 | Package fix record |
| SUSE / openSUSE | SLE-12-SP1 | gds390x | Advisory build | 2.1.0-12.1 | SUSE-SU-2016:2303-1 |
| SUSE / openSUSE | SLE-12-SP1 | gdx86_64 | Advisory build | 2.1.0-12.1 | SUSE-SU-2016:2303-1 |
Show 25 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP1 | gd-32bitx86_64 | Advisory build | 2.1.0-12.1 | SUSE-SU-2016:2303-1 |
| SUSE / openSUSE | SLE-12-SP1 | gd-develppc64le | Advisory build | 2.1.0-12.1 | SUSE-SU-2016:2303-1 |
| SUSE / openSUSE | SLE-12-SP1 | gd-devels390x | Advisory build | 2.1.0-12.1 | SUSE-SU-2016:2303-1 |
| SUSE / openSUSE | SLE-12-SP1 | gd-develx86_64 | Advisory build | 2.1.0-12.1 | SUSE-SU-2016:2303-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gdaarch64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gdppc64le | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gds390x | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gdx86_64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gd-develaarch64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gd-develppc64le | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gd-devels390x | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gd-develx86_64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3aarch64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3ppc64le | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3s390x | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3x86_64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3-32bitaarch64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3-32bitppc64le | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3-32bits390x | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgd3-32bitx86_64 | Advisory build | 2.2.3-2.1 | OPENSUSE-SU-2024:10062-1 |
| Ubuntu | trusty | libgd2 | Advisory build | 2.1.0-3ubuntu0.2 | USN-3030-1 |
| Ubuntu | trusty | libgd3 | Advisory build | 2.1.0-3ubuntu0.2 | USN-3030-1 |
| Ubuntu | xenial | libgd-tools | Advisory build | 2.1.1-4ubuntu0.16.04.2 | USN-3030-1 |
| Ubuntu | xenial | libgd2 | Advisory build | 2.1.1-4ubuntu0.16.04.2 | USN-3030-1 |
| Ubuntu | xenial | libgd3 | Advisory build | 2.1.1-4ubuntu0.16.04.2 | USN-3030-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- openSUSE-SU-2016:2363 http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html
- DSA-3619 http://www.debian.org/security/2016/dsa-3619
- [oss-security] 20160529 Re: CVE Request: libgd - gdCtxPrintf memory leak http://www.openwall.com/lists/oss-security/2016/05/29/5
- USN-3030-1 http://www.ubuntu.com/usn/USN-3030-1
- https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4
- https://github.com/libgd/libgd/issues/211
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 197851a408a83706ab27780e419de5e8cc15145044074ce4bbf858c392b5e70c
- Ingested
- 23 Sep 2026, 07:41:23 UTC
- Source record
- Official CVE record