{"id":"CVE-2015-8877","details":"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.","modified":"2026-04-16T06:16:22.647326805Z","published":"2016-05-22T01:59:09Z","related":["SUSE-SU-2016:1633-1"],"references":[{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3587"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2987-1"},{"type":"EVIDENCE","url":"https://bugs.php.net/bug.php?id=70064"},{"type":"FIX","url":"https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24"},{"type":"FIX","url":"https://github.com/libgd/libgd/issues/173"},{"type":"WEB","url":"http://www.php.net/ChangeLog-5.php"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}