Vulnerability in Libgd
CVE-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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.036, 89.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/libgd/libgd/issues/173 (Patch)
- RHSA-2016:2750 (vendor-advisory)
- github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24 (Patch)
- www.php.net/ChangeLog-5.php
- bugs.php.net/bug.php (Exploit)
- USN-2987-1 (vendor-advisory)
- DSA-3587 (vendor-advisory)