{"id":"CVE-2015-8877","state":"PUBLISHED","title":"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 approa","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.","publishedAt":"2016-05-22T01:00:00.000Z","updatedAt":"2024-08-06T08:29:22.081Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/libgd/libgd/issues/173","http://rhn.redhat.com/errata/RHSA-2016-2750.html","https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24","http://www.php.net/ChangeLog-5.php","https://bugs.php.net/bug.php?id=70064","http://www.ubuntu.com/usn/USN-2987-1","http://www.debian.org/security/2016/dsa-3587"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:17.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/8xxx/CVE-2015-8877.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-8877","state":"PUBLISHED","datePublished":"2016-05-22T01:00:00.000Z","dateUpdated":"2024-08-06T08:29:22.081Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-05-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/libgd/libgd/issues/173","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24","tags":["x_refsource_CONFIRM"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.php.net/bug.php?id=70064","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-2987-1","name":"USN-2987-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.debian.org/security/2016/dsa-3587","name":"DSA-3587","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2015-08-05T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-8877","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/libgd/libgd/issues/173","refsource":"CONFIRM","url":"https://github.com/libgd/libgd/issues/173"},{"name":"RHSA-2016:2750","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"name":"https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24","refsource":"CONFIRM","url":"https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24"},{"name":"http://www.php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://www.php.net/ChangeLog-5.php"},{"name":"https://bugs.php.net/bug.php?id=70064","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=70064"},{"name":"USN-2987-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2987-1"},{"name":"DSA-3587","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3587"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/libgd/libgd/issues/173","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=70064","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2987-1","name":"USN-2987-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.debian.org/security/2016/dsa-3587","name":"DSA-3587","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T08:29:22.081Z"}}]}}}