{"id":"CVE-2016-7568","details":"Integer overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP through 7.0.11, allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted imagewebp and imagedestroy calls.","modified":"2026-04-16T01:39:24.011693312Z","published":"2016-09-28T20:59:02.680Z","related":["SUSE-SU-2016:2668-1","SUSE-SU-2016:2683-1","SUSE-SU-2016:2683-2","SUSE-SU-2016:2766-1"],"references":[{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3693"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93184"},{"type":"ADVISORY","url":"https://bugs.php.net/bug.php?id=73003"},{"type":"ADVISORY","url":"https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03"},{"type":"ADVISORY","url":"https://github.com/libgd/libgd/issues/308"},{"type":"ADVISORY","url":"https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201612-09"},{"type":"REPORT","url":"https://bugs.php.net/bug.php?id=73003"},{"type":"REPORT","url":"https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03"},{"type":"REPORT","url":"https://github.com/libgd/libgd/issues/308"},{"type":"REPORT","url":"https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6"},{"type":"FIX","url":"https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03"},{"type":"FIX","url":"https://github.com/libgd/libgd/issues/308"},{"type":"FIX","url":"https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libgd/libgd","events":[{"introduced":"0"},{"fixed":"40bec0f38f50e8510f5bb71a82f516d46facde03"}]}],"versions":["GD_1_3_0","GD_1_4_0","GD_1_5_0","GD_1_6_0","GD_1_6_1","GD_1_6_2","GD_1_6_3","GD_1_7_0","GD_1_7_1","GD_1_7_2","GD_1_7_3","GD_1_8_0","GD_1_8_1","GD_1_8_3","GD_1_8_4","GD_2_0_0","GD_2_0_1","GD_2_0_10","GD_2_0_11","GD_2_0_12","GD_2_0_13","GD_2_0_14","GD_2_0_15","GD_2_0_17","GD_2_0_18","GD_2_0_19","GD_2_0_2","GD_2_0_20","GD_2_0_21","GD_2_0_22","GD_2_0_23","GD_2_0_24","GD_2_0_25","GD_2_0_26","GD_2_0_27","GD_2_0_28","GD_2_0_29","GD_2_0_3","GD_2_0_30","GD_2_0_31","GD_2_0_32","GD_2_0_33","GD_2_0_34RC1","GD_2_0_4","GD_2_0_5","GD_2_0_6","GD_2_0_7","GD_2_0_8","GD_2_0_9","gd-2.1.0","gd-2.1.0-alpha1","gd-2.1.0-rc1","gd-2.1.0-rc2","gd-2.1.1","gd-2.2.0","gd-2.2.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7568.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"fixed":"c18263e0e0769faee96a5d0ee04b750c442783c6"}]}],"versions":["NEWS","NEWS-cvs2svn","POST_64BIT_BRANCH_MERGE","POST_AST_MERGE","POST_NATIVE_TLS_MERGE","POST_PHP7_EREG_MYSQL_REMOVALS","POST_PHP7_NSAPI_REMOVAL","POST_PHP7_REMOVALS","POST_PHPNG_MERGE","PRE_64BIT_BRANCH_MERGE","PRE_AST_MERGE","PRE_NATIVE_TLS_MERGE","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_REMOVALS","PRE_PHPNG_MERGE","php-5.3.23RC1","php-5.3.29","php-5.3.29RC1","php-5.4.30RC1","php-5.4.32RC1","php-5.4.4RC2","php-5.5.24RC1","php-5.6.18RC1","php-5.6.19RC1","php-5.6.22RC1","php-5.6.23RC1","php-5.6.24RC1","php-7.0.11RC1","php-7.0.3RC1","php-7.0.4RC1","php-7.0.5RC1","php-7.0.7RC1","php-7.0.8RC1","php-7.0.9RC1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7568.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}