CVE-2015-8877Missing Release of Resource after Effective Lifetime in Libgd

Severity
7.5HIGHNVD
OSV4.3
EPSS
2.3%
top 15.19%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 22
Latest updateMay 14

Description

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

debiandebian/libgd2< libgd2 2.2.1-1 (bookworm)
NVDlibgd/libgd2.1.1
NVDphp/php5.6.11

Patches

🔴Vulnerability Details

4
GHSA
GHSA-pw83-9cfw-pfm6: The gdImageScaleTwoPass function in gd_interpolation2022-05-14
OSV
libgd2 vulnerabilities2016-05-31
CVEList
CVE-2015-8877: The gdImageScaleTwoPass function in gd_interpolation2016-05-22
OSV
CVE-2015-8877: The gdImageScaleTwoPass function in gd_interpolation2016-05-22

📋Vendor Advisories

3
Ubuntu
GD library vulnerabilities2016-05-31
Red Hat
gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches2015-07-13
Debian
CVE-2015-8877: libgd2 - The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Librar...2015

💬Community

3
Bugzilla
CVE-2015-8877 gd: php: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches [fedora-all]2016-05-27
Bugzilla
CVE-2015-8877 gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches2016-05-23
Bugzilla
CVE-2015-8876 CVE-2015-8877 CVE-2015-8878 CVE-2015-8879 php: various flaws [fedora-all]2016-05-23