CVE-2015-8877

7.5 HIGH
Published: May 22, 2016 Modified: May 06, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://bugs.php.net/bug.php?id=70064
Source: cve@mitre.org
Exploit
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.debian.org/security/2016/dsa-3587
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.php.net/ChangeLog-5.php
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-2987-1
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.php.net/bug.php?id=70064
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
https://github.com/libgd/libgd/issues/173
Source: af854a3a-2127-422b-91ae-364da2661108
Patch

14 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
2.3%
85th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php libgd