CVE-2017-20286
DevIL through 1.8.0 Heap Buffer Overflow via GIF iGetPalette
CVE-2017-20286 is a high vulnerability (CVSS 8.5) in Dentonw Devil, published October 14, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.20%, the 9th percentile. No source names a fixed version.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Passive
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.5
DevIL through 1.8.0 Heap Buffer Overflow via GIF iGetPalette
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.
- Record
CVE-2017-20286- CVSS 4.0
- 8.5 High
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 - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2017-19019
8.5
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.
- Record
EUVD-2017-19019- CVSS 4.0
- 8.5 High
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-5rw7-933r-f38v
8.5
DevIL through 1.8.0 contains a heap-based buffer overflow in iGetPalette() in il_gif.cpp that...
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.
- Record
GHSA-5rw7-933r-f38v- CVSS 4.0
- 8.5 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
NVD
8.5
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.
- Record
CVE-2017-20286- CVSS 4.0
- 8.5 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
8.5
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.
- Record
CVE-2017-20286- CVSS 4.0
- 8.5 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-20286
8.5
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.
- Record
DEBIAN-CVE-2017-20286- CVSS 4.0
- 8.5 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-20286
8.5
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.
- Record
UBUNTU-CVE-2017-20286- CVSS 4.0
- 8.5 High
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 - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
devilDebian:12 |
All versions, plus listed versions 1.7.8-101.7.8-111.7.8-121.8.0.40.g6f3d5e9b+dfsg-11.8.0.40.g6f3d5e9b+dfsg-2 Show 6 moreShow less1.8.0.40.g6f3d5e9b+dfsg-31.8.0.40.g6f3d5e9b+dfsg-3.11.8.0.40.g6f3d5e9b+dfsg-3~exp11.8.0.40.g6f3d5e9b+dfsg-3~exp21.8.0.40.g6f3d5e9b+dfsg-41.8.0.40.g6f3d5e9b+dfsg-5 |
None known |
devilDebian:13 |
All versions, plus listed versions 1.7.8-121.8.0.40.g6f3d5e9b+dfsg-11.8.0.40.g6f3d5e9b+dfsg-21.8.0.40.g6f3d5e9b+dfsg-31.8.0.40.g6f3d5e9b+dfsg-3.1 Show 4 moreShow less1.8.0.40.g6f3d5e9b+dfsg-3~exp11.8.0.40.g6f3d5e9b+dfsg-3~exp21.8.0.40.g6f3d5e9b+dfsg-41.8.0.40.g6f3d5e9b+dfsg-5 |
None known |
devilDebian:14 |
All versions, plus listed versions 1.7.8-121.8.0.40.g6f3d5e9b+dfsg-11.8.0.40.g6f3d5e9b+dfsg-21.8.0.40.g6f3d5e9b+dfsg-31.8.0.40.g6f3d5e9b+dfsg-3.1 Show 4 moreShow less1.8.0.40.g6f3d5e9b+dfsg-3~exp11.8.0.40.g6f3d5e9b+dfsg-3~exp21.8.0.40.g6f3d5e9b+dfsg-41.8.0.40.g6f3d5e9b+dfsg-5 |
None known |
devilUbuntu:16.04:LTS |
All versions, plus listed versions 1.7.8-10 |
None known |
devilUbuntu:18.04:LTS |
All versions, plus listed versions 1.7.8-10build1 |
None known |
devilUbuntu:20.04:LTS |
All versions, plus listed versions 1.7.8-10build11.7.8-10build2 |
None known |
devilUbuntu:22.04:LTS |
All versions, plus listed versions 1.7.8-10build2 |
None known |
devilUbuntu:24.04:LTS |
All versions, plus listed versions 1.7.8-10build31.7.8-10build41.7.8-10build51.7.8-10build6 |
None known |
devilUbuntu:26.10 |
All versions, plus listed versions 1.7.8-121.8.0.40.g6f3d5e9b+dfsg-5ubuntu1 |
None known |
devilUbuntu:26.04:LTS |
All versions, plus listed versions 1.7.8-12 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
github.com/DentonW/DevIL/issues/67
hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflow
github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp
vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-igetpalette
nvd.nist.gov/vuln/detail/CVE-2017-20286
github.com/advisories/GHSA-5rw7-933r-f38v
security-tracker.debian.org/tracker/CVE-2017-20286
ubuntu.com/security/CVE-2017-20286
cve.org/CVERecord?id=CVE-2017-20286