CVE-2017-20286
DevIL through 1.8.0 Heap Buffer Overflow via GIF iGetPalette
DentonW DevIL
CVSS
8.5HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 1
- DevILaffected: all versions through 1.8.0CVE List
References 5
- hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflowAdvisoryvia CVE List
- vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-igetpaletteAdvisoryvia CVE List
- github.com/DentonW/DevIL/issues/67Referencevia CVE List
- github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp#L189-L226Referencevia CVE List
- github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp#L314-L324Referencevia CVE List