CVE-2015-8877

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://rhn.redhat.com/errata/RHSA-2016-2750.html

http://www.debian.org/security/2016/dsa-3587

http://www.php.net/ChangeLog-5.php

http://www.ubuntu.com/usn/USN-2987-1

https://bugs.php.net/bug.php?id=70064

https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24

https://github.com/libgd/libgd/issues/173

Details

Source: MITRE

Published: 2016-05-22

Updated: 2018-01-05

Type: CWE-399

Risk Information

CVSS v2

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:* versions up to 2.1.1 (inclusive)

Configuration 2

OR

cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to 5.6.11 (inclusive)

Tenable Plugins

View all (8 total)

IDNameProductFamilySeverity
93160SUSE SLED12 / SLES12 Security Update : php5 (SUSE-SU-2016:1633-1)NessusSuSE Local Security Checks
critical
92182Fedora 23 : gd (2016-de6e26b8aa)NessusFedora Local Security Checks
critical
92139Fedora 24 : gd (2016-a82ad4c373)NessusFedora Local Security Checks
high
92078Fedora 22 : gd (2016-363d307082)NessusFedora Local Security Checks
critical
91869openSUSE Security Update : php5 (openSUSE-2016-776)NessusSuSE Local Security Checks
critical
91585openSUSE Security Update : php5 (openSUSE-2016-703)NessusSuSE Local Security Checks
critical
91423Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : libgd2 vulnerabilities (USN-2987-1)NessusUbuntu Local Security Checks
critical
91364Debian DSA-3587-1 : libgd2 - security updateNessusDebian Local Security Checks
high