{"id":"CVE-2017-20286","published":"2026-10-14T14:16:27Z","modified":"2026-10-14T15:55:35Z","title":"DevIL through 1.8.0 Heap Buffer Overflow via GIF iGetPalette","vendor":"DentonW","product":"DevIL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00199,"percentile":0.09861,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/DentonW/DevIL/issues/67","tags":["issue-tracking"]},{"url":"https://hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflow","tags":["third-party-advisory"]},{"url":"https://github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp#L189-L226","tags":["technical-description"]},{"url":"https://github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp#L314-L324","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-igetpalette","tags":["third-party-advisory"]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":1.97},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"dentonw","affectedVersions":[{"vendor":"DentonW","product":"DevIL","versions":["<= 1.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-14T14:52:04.580800Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2017-19019","exploited":false,"provenance":"source"}}