CVE-2015-8877
published 2016-05-22CVE-2015-8877: The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent…
PriorityP337high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
3.58%
87.9th percentile
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libgd2 | < libgd2 2.2.1-1 (bookworm) | libgd2 2.2.1-1 (bookworm) |
| libgd | libgd | <= 2.1.1 | — |
| php | php | <= 5.6.11 | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu4.3MEDIUM
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.
Ubuntu
GD library vulnerabilities
vendor_ubuntu·2016-05-31·CVSS 4.3
CVE-2014-2497 [MEDIUM] 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 certain color
tables in XPM images. If a user or automated system were tricked into
processing a specially crafted XPM image, an attacker could cause a denial
of service. This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.
(CVE-2014-2497)
It was discovered that the GD library incorrectly handled certain malformed
GIF images. If a user or automated system were tricked into processing a
specially crafted GIF image, an attacker could cause a denial of service.
This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.
(CVE-2014-9709)
It was discovered that the GD library i
Red Hat
gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
vendor_redhat·2015-07-13·CVSS 7.5
CVE-2015-8877 [HIGH] CWE-772 gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
Package: gd (Red Hat Enterprise Linux 5) - Not affected
Package: php (Red Hat Enterprise Linux 5) - Not affected
Package: php53 (Red Hat Enterprise Linux 5) - Not affected
Package: gd (Red Hat Enterprise Linux 6) - Not affected
Package: php (Red Hat Enterprise Linux 6) - Not affected
Package: gd (Red Hat Enterprise Linux 7) - Not affected
Packa
Debian
CVE-2015-8877: libgd2 - The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Librar...
vendor_debian·2015·CVSS 7.5
CVE-2015-8877 [HIGH] CVE-2015-8877: libgd2 - The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Librar...
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
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)
GHSA
GHSA-pw83-9cfw-pfm6: The gdImageScaleTwoPass function in gd_interpolation
ghsa_unreviewed·2022-05-14
CVE-2015-8877 [HIGH] GHSA-pw83-9cfw-pfm6: The gdImageScaleTwoPass function in gd_interpolation
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
OSV
libgd2 vulnerabilities
osv·2016-05-31·CVSS 4.3
CVE-2014-2497 [MEDIUM] libgd2 vulnerabilities
libgd2 vulnerabilities
It was discovered that the GD library incorrectly handled certain color
tables in XPM images. If a user or automated system were tricked into
processing a specially crafted XPM image, an attacker could cause a denial
of service. This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.
(CVE-2014-2497)
It was discovered that the GD library incorrectly handled certain malformed
GIF images. If a user or automated system were tricked into processing a
specially crafted GIF image, an attacker could cause a denial of service.
This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.
(CVE-2014-9709)
It was discovered that the GD library incorrectly handled memory when using
gdImageFillToBorder(). A remote attacker could possibly use this issue to
cause a deni
OSV
CVE-2015-8877: The gdImageScaleTwoPass function in gd_interpolation
osv·2016-05-22·CVSS 7.5
CVE-2015-8877 [HIGH] CVE-2015-8877: The gdImageScaleTwoPass function in gd_interpolation
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-8877 gd: php: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches [fedora-all]
bugzilla·2016-05-27·CVSS 7.5
CVE-2015-8877 [HIGH] CVE-2015-8877 gd: php: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches [fedora-all]
CVE-2015-8877 gd: php: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches [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.
Bugzilla
CVE-2015-8877 gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
bugzilla·2016-05-23·CVSS 7.5
CVE-2015-8877 [HIGH] CVE-2015-8877 gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
CVE-2015-8877 gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
A vulnerability was found in the GD Graphics Library before 2.2.0, as used in PHP before 5.6.12. The gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
Upstream bugs:
https://bugs.php.net/bug.php?id=70064
https://github.com/libgd/libgd/issues/173
Discussion:
Created php tracking bugs for this issue:
Affects: fedora-all [bug 1338927]
---
Created gd tracking bugs for this issue:
Affects: fedora-all [bug 1340428]
---
gd-2.2.1-1.fc24 has been pushed to the Fedora 24
Bugzilla
CVE-2015-8876 CVE-2015-8877 CVE-2015-8878 CVE-2015-8879 php: various flaws [fedora-all]
bugzilla·2016-05-23·CVSS 9.8
CVE-2015-8876 [CRITICAL] CVE-2015-8876 CVE-2015-8877 CVE-2015-8878 CVE-2015-8879 php: various flaws [fedora-all]
CVE-2015-8876 CVE-2015-8877 CVE-2015-8878 CVE-2015-8879 php: various flaws [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 ve
http://rhn.redhat.com/errata/RHSA-2016-2750.htmlhttp://www.debian.org/security/2016/dsa-3587http://www.php.net/ChangeLog-5.phphttp://www.ubuntu.com/usn/USN-2987-1https://bugs.php.net/bug.php?id=70064https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24https://github.com/libgd/libgd/issues/173http://rhn.redhat.com/errata/RHSA-2016-2750.htmlhttp://www.debian.org/security/2016/dsa-3587http://www.php.net/ChangeLog-5.phphttp://www.ubuntu.com/usn/USN-2987-1https://bugs.php.net/bug.php?id=70064https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24https://github.com/libgd/libgd/issues/173
2016-05-22
Published