{"id":"ALPINE-CVE-2017-7890","details":"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.","modified":"2026-03-09T01:09:54.754502Z","published":"2017-08-02T19:29:00.897Z","upstream":["CVE-2017-7890"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-7890"}],"affected":[{"package":{"name":"gd","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/gd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-r0"}]}],"versions":["2.0.35-r0","2.0.35-r1","2.0.35-r2","2.0.36_rc1-r1","2.0.36_rc1-r2","2.0.36_rc1-r3","2.0.36_rc1-r4","2.0.36_rc1-r5","2.0.36_rc1-r6","2.0.36_rc1-r7","2.0.36_rc1-r8","2.0.36_rc1-r9","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.2.1-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-7890.json"}},{"package":{"name":"gd","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/gd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-r0"}]}],"versions":["2.0.35-r0","2.0.35-r1","2.0.35-r2","2.0.36_rc1-r1","2.0.36_rc1-r2","2.0.36_rc1-r3","2.0.36_rc1-r4","2.0.36_rc1-r5","2.0.36_rc1-r6","2.0.36_rc1-r7","2.0.36_rc1-r8","2.0.36_rc1-r9","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.2.1-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-7890.json"}},{"package":{"name":"gd","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/gd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-r0"}]}],"versions":["2.0.35-r0","2.0.35-r1","2.0.35-r2","2.0.36_rc1-r0","2.0.36_rc1-r1","2.0.36_rc1-r2","2.0.36_rc1-r3","2.0.36_rc1-r4","2.0.36_rc1-r5","2.0.36_rc1-r6","2.0.36_rc1-r7","2.0.36_rc1-r8","2.0.36_rc1-r9","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.2.1-r0","2.2.3-r0","2.2.3-r1","2.2.4-r0","2.2.4-r1","2.2.4-r2"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-7890.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}