{"id":"CVE-2017-7890","state":"PUBLISHED","title":"The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap a","description":"The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.","publishedAt":"2017-08-02T19:00:00.000Z","updatedAt":"2024-08-05T16:19:29.486Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038","https://www.tenable.com/security/tns-2017-12","http://www.debian.org/security/2017/dsa-3938","https://access.redhat.com/errata/RHSA-2018:1296","http://php.net/ChangeLog-5.php","https://security.netapp.com/advisory/ntap-20180112-0001/","http://www.securityfocus.com/bid/99492","http://php.net/ChangeLog-7.php","https://access.redhat.com/errata/RHSA-2018:0406","https://bugs.php.net/bug.php?id=74435"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:54.997Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/7xxx/CVE-2017-7890.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-7890","state":"PUBLISHED","datePublished":"2017-08-02T19:00:00.000Z","dateUpdated":"2024-08-05T16:19:29.486Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2017-04-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2017-12","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2017/dsa-3938","name":"DSA-3938","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1296","name":"RHSA-2018:1296","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/99492","name":"99492","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0406","name":"RHSA-2018:0406","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=74435","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-05-03T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2017-07-06T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-7890","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 GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038","refsource":"CONFIRM","url":"https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038"},{"name":"https://www.tenable.com/security/tns-2017-12","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2017-12"},{"name":"DSA-3938","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3938"},{"name":"RHSA-2018:1296","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"https://security.netapp.com/advisory/ntap-20180112-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"name":"99492","refsource":"BID","url":"http://www.securityfocus.com/bid/99492"},{"name":"http://php.net/ChangeLog-7.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-7.php"},{"name":"RHSA-2018:0406","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:0406"},{"name":"https://bugs.php.net/bug.php?id=74435","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=74435"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2017-12","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2017/dsa-3938","name":"DSA-3938","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1296","name":"RHSA-2018:1296","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/99492","name":"99492","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0406","name":"RHSA-2018:0406","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=74435","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T16:19:29.486Z"}}]}}}