{"id":"CVE-2016-9933","published":"2017-01-04T20:00:00Z","modified":"2024-08-06T03:07:31Z","title":"Stack consumption vulnerability in the gdImageFillToBorder function in gd.c in the GD Graphics Library (aka libgd)…","vendor":null,"product":null,"tier":"tail","description":{"text":"Stack consumption vulnerability in the gdImageFillToBorder function in gd.c in the GD Graphics Library (aka libgd) before 2.2.2, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (segmentation violation) via a crafted imagefilltoborder call that triggers use of a negative color value.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06871,"percentile":0.94201,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/12/12/2","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-12/msg00133.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-01/msg00054.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-01/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/php/php-src/commit/863d37ea66d5c960db08d6f4a2cbd2518f0f80d1","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2017/dsa-3751","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/94865","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1296","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.php.net/bug.php?id=72696","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2017-01/msg00034.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-12/msg00142.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/libgd/libgd/issues/215","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libgd/libgd/commit/77f619d48259383628c3ec4654b1ad578e9eb40e","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.84}]},"summary":{"text":"A stack consumption flaw in the gdImageFillToBorder function in gd.c of the GD Graphics Library (libgd) affects libgd before 2.2.2 as used in PHP before 5.6.28 and 7.x before 7.0.13.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:59:14Z"},"euvd":{"id":"EUVD-2016-10720","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-5767-family-cve-2016-5767","parents":[{"from":"CVE-2016-5767","to":"CVE-2016-9933","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ext/gd/libgd/gd.c"],"commits":["https://github.com/php/php-src/commit/c395c6e5d7e8df37a21265ff76e48fe75ceb5ae6","https://github.com/php/php-src/commit/863d37ea66d5c960db08d6f4a2cbd2518f0f80d1"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2016-9933","to":"CVE-2016-9317","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/gd.c"],"commits":["https://github.com/libgd/libgd/commit/1846f48e5fcdde996e7c27a4bbac5d0aef183e4b","https://github.com/libgd/libgd/commit/77f619d48259383628c3ec4654b1ad578e9eb40e"],"basis":"shared function","functions":["BGD_DECLARE"]}]},{"from":"CVE-2016-9933","to":"CVE-2018-14553","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/gd.c"],"commits":["https://github.com/libgd/libgd/commit/77f619d48259383628c3ec4654b1ad578e9eb40e","https://github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f"],"basis":"shared function","functions":["BGD_DECLARE"]}]}]}}