---
title: "CVE-2017-20286: DevIL - Remote Code Execution"
description: "DevIL through 1.8.0 contains a heap-based buffer overflow caused by improper handling of two-frame GIF images with disposal method 1 and local colour table in iGetPalette() in il_gif.cpp, letting attackers execute arbitrary code remotely, exploit requires crafted GIF image."
url: https://panop.io/threat-heartbeat/CVE-2017-20286/
---

# CVE-2017-20286 DevIL - Remote Code Execution

DevIL through 1.8.0 contains a heap-based buffer overflow caused by improper handling of two-frame GIF images with disposal method 1 and local colour table in iGetPalette() in il\_gif.cpp, letting attackers execute arbitrary code remotely, exploit requires crafted GIF image.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.20% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2017-20286)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

14 October 2026

Updated

15 October 2026

Weakness

[CWE-787](https://cwe.mitre.org/data/definitions/787.html)

## Vendor fix

Update to the latest version beyond 1.8.0.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2017-20286](https://nvd.nist.gov/vuln/detail/CVE-2017-20286)
- [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#L189-L226)
- [https://github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il\_gif.cpp#L314-L324](https://github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il_gif.cpp#L314-L324)
- [https://github.com/DentonW/DevIL/issues/67](https://github.com/DentonW/DevIL/issues/67)
- [https://hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflow](https://hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflow)
- [https://www.vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-igetpalette](https://www.vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-igetpalette)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
