CVE-2016-5116
published 2016-08-07CVE-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…
PriorityP340critical9.1CVSS 3.0
AVNACLPRNUINSUCHINAH
EPSS
3.71%
88.4th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | libgd2 | < libgd2 2.2.1-1 (bookworm) | libgd2 2.2.1-1 (bookworm) |
| libgd | libgd | <= 2.2.1 | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.09.1CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv9.1CRITICAL
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
vendor_ubuntu7.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-mvgw-h4r7-8g56: gd_xbm
ghsa_unreviewed·2022-05-14
CVE-2016-5116 [CRITICAL] CWE-119 GHSA-mvgw-h4r7-8g56: gd_xbm
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.
OSV
CVE-2016-5116: gd_xbm
osv·2016-08-07·CVSS 9.1
CVE-2016-5116 [CRITICAL] CVE-2016-5116: gd_xbm
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.
OSV
libgd2 vulnerabilities
osv·2016-07-11·CVSS 7.6
CVE-2013-7456 [HIGH] libgd2 vulnerabilities
libgd2 vulnerabilities
It was discovered that the GD library incorrectly handled memory when using
gdImageScaleTwoPass(). A remote attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 14.04 LTS.
(CVE-2013-7456)
It was discovered that the GD library incorrectly handled certain malformed
XBM images. If a user or automated system were tricked into processing a
specially crafted XBM image, an attacker could cause a denial of service.
This issue only affected Ubuntu 14.04 LTS, Ubuntu 15.10 and Ubuntu 16.04
LTS. (CVE-2016-5116)
It was discovered that the GD library incorrectly handled memory when using
_gd2GetHeader(). A remote attacker could possibly use this issue to cause a
denial of service or possibly execute arbitrary code. (CVE-2016-5766)
Ubuntu
GD library vulnerabilities
vendor_ubuntu·2016-07-11·CVSS 7.6
CVE-2013-7456 [HIGH] GD library vulnerabilities
Title: GD library vulnerabilities
Summary: The GD library could be made to crash or run programs if it processed a
specially crafted image file.
It was discovered that the GD library incorrectly handled memory when using
gdImageScaleTwoPass(). A remote attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 14.04 LTS.
(CVE-2013-7456)
It was discovered that the GD library incorrectly handled certain malformed
XBM images. If a user or automated system were tricked into processing a
specially crafted XBM image, an attacker could cause a denial of service.
This issue only affected Ubuntu 14.04 LTS, Ubuntu 15.10 and Ubuntu 16.04
LTS. (CVE-2016-5116)
It was discovered that the GD library incorrectly handled memory when using
_gd2GetHeader(). A rem
Red Hat
gd: Information leak due to stack overflow in gdCtxPrintf
vendor_redhat·2016-05-29·CVSS 9.1
CVE-2016-5116 [CRITICAL] CWE-200 gd: Information leak due to stack overflow in gdCtxPrintf
gd: Information leak due to stack overflow in gdCtxPrintf
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.
Package: gd (Red Hat Enterprise Linux 5) - Not affected
Package: gd (Red Hat Enterprise Linux 6) - Not affected
Package: gd (Red Hat Enterprise Linux 7) - Not affected
Package: gd (Red Hat OpenShift Enterprise 2) - Not affected
Debian
CVE-2016-5116: libgd2 - gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain...
vendor_debian·2016·CVSS 9.1
CVE-2016-5116 [CRITICAL] CVE-2016-5116: libgd2 - gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain...
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.
Scope: local
bookworm: resolved (fixed in 2.2.1-1)
bullseye: resolved (fixed in 2.2.1-1)
forky: resolved (fixed in 2.2.1-1)
sid: resolved (fixed in 2.2.1-1)
trixie: resolved (fixed in 2.2.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-5116 gd: Information leak due to stack overflow in gdCtxPrintf [fedora-all]
bugzilla·2016-05-30·CVSS 9.1
CVE-2016-5116 [CRITICAL] CVE-2016-5116 gd: Information leak due to stack overflow in gdCtxPrintf [fedora-all]
CVE-2016-5116 gd: Information leak due to stack overflow in gdCtxPrintf [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versi
Bugzilla
CVE-2016-5116 gd: Information leak due to stack overflow in gdCtxPrintf
bugzilla·2016-05-30·CVSS 9.1
CVE-2016-5116 [CRITICAL] CVE-2016-5116 gd: Information leak due to stack overflow in gdCtxPrintf
CVE-2016-5116 gd: Information leak due to stack overflow in gdCtxPrintf
While creating an XBM image (imagexbm) with an user supplied name,
libgd isn't checking the vsnprintf return value and PHP 5.5 will trust
this length and read more memory than it should, causing a read-out-of
boundaries, leaking stack memory.
References:
http://seclists.org/oss-sec/2016/q2/428
External references:
https://github.com/libgd/libgd/issues/211
Upstream fix:
https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4
Discussion:
Created gd tracking bugs for this issue:
Affects: fedora-all [bug 1340857]
---
gd-2.1.1-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
---
gd-2.1.1-4.fc22 has been pushe
Bugzilla
CVE-2016-0750 hotrod client: unchecked deserialization in marshaller util
bugzilla·2016-01-20·CVSS 4.2
CVE-2016-0750 [MEDIUM] CVE-2016-0750 hotrod client: unchecked deserialization in marshaller util
CVE-2016-0750 hotrod client: unchecked deserialization in marshaller util
It was discovered that the hotrod java client in infinispan automatically deserializes bytearray message contents in certain events. A malicious user could exploit this flaw by injecting a specially-crafted serialized object to attain remote code execution or conduct other attacks.
code link:
https://github.com/infinispan/infinispan/blob/master/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/marshall/MarshallerUtil.java#L39
Discussion:
upstream: https://issues.jboss.org/browse/ISPN-7781
PR: https://github.com/infinispan/infinispan/pull/5116
Fixed in: Infinispan 9.1.0.Final
---
Acknowledgments:
Name: Sebastian Olsson (TrueSec)
---
This issue has been addressed in the following products:
Red H
http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.htmlhttp://www.debian.org/security/2016/dsa-3619http://www.openwall.com/lists/oss-security/2016/05/29/5http://www.ubuntu.com/usn/USN-3030-1https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4https://github.com/libgd/libgd/issues/211http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.htmlhttp://www.debian.org/security/2016/dsa-3619http://www.openwall.com/lists/oss-security/2016/05/29/5http://www.ubuntu.com/usn/USN-3030-1https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4https://github.com/libgd/libgd/issues/211
2016-08-07
Published