{"id":"CVE-2017-20286","revision":"a1ffbad1c2a8437589f57b6b68a99e99","records":[{"revision":"a1ffbad1c2a8437589f57b6b68a99e99","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2017-20286","aliases":[],"title":"DevIL through 1.8.0 Heap Buffer Overflow via GIF iGetPalette","description":"DevIL through 1.8.0 contains a heap-based buffer overflow in iGetPalette() in il_gif.cpp that allows attackers to write beyond a 768-byte palette buffer when loading GIF images. Attackers can supply a crafted two-frame GIF whose second frame uses disposal method 1 with a local colour table, writing up to 384 controlled bytes past the heap allocation and possibly executing code.","state":0,"publishedAt":"2026-10-14T14:16:27.547+00:00","modifiedAt":"2026-10-14T15:55:35.957+00:00","affected":[{"ecosystem":"Vendor product","name":"DevIL","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"DentonW\",\n                    \"product\": \"DevIL\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"1.8.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:github/DentonW/DevIL\",\n                    \"repo\": \"https://github.com/DentonW/DevIL\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.5,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/DentonW/DevIL/issues/67","https://hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflow","https://github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp#L189-L226","https://github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp#L314-L324","https://www.vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-igetpalette"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2017-20286","license":"CVE Program Terms of Use","key":"cve-program:CVE-2017-20286","identifiers":["CVE-2017-20286"]},"retained":false,"historicalAffected":[]}],"coverage":[]}