Buffer overflow in Dentonw Devil
CVE-2017-20286
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/DentonW/DevIL/issues/67 (issue-tracking)
- hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflow (third-party-advisory)
- github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/sr… (technical-description)
- github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/sr… (technical-description)
- www.vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-i… (third-party-advisory)
Frequently asked questions
- What is CVE-2017-20286?
- CVE-2017-20286 is a high-severity vulnerability in Dentonw Devil, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2026-10-14.
- How severe is CVE-2017-20286?
- High severity. CVSS v3 base score is 7.8 out of 10.