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.
Published: 2026-10-14
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

The DevIL image library (version 1.8.0 and earlier) contains a heap-based buffer overflow in the iGetPalette() routine used to process GIF files. The overflow occurs when loading GIF images that include a second frame with disposal method 1 and a local colour table. The library allocates only a 768‑byte palette buffer but can write up to 384 bytes past this allocation, enabling an attacker to place arbitrary data and potentially execute malicious code.

Affected Systems

Affected systems are any installations that use DevIL libraries prior to 1.8.1, specifically the DevIL community edition through version 1.8.0. Applications that embed DevIL for GIF loading, such as image editors, game engines, or web servers that decode user‑supplied GIFs, are within scope. No specific customer products are listed beyond the generic DevIL library.

Risk and Exploitability

The severity of the flaw is high with a CVSS score of 8.5. No EPSS information is available and it is not catalogued in the CISA KEV list. Attackers can exploit it by supplying a specially crafted GIF file to any application that loads GIF images through DevIL; the overflow may lead to code execution or denial of service. Because the heap buffer is overwritten directly, exploitation does not require administrative privileges, but the attacker must have the ability to supply a malicious GIF to the target application.

Generated by OpenCVE AI on October 15, 2026 at 03:01 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the DevIL library to a version newer than 1.8.0 that includes the fixed buffer overflow patch (e.g., 1.8.1 or later).
  • If an update is not immediately possible, disable GIF import in the application or refuse to process unknown GIF files.
  • Harden the application by validating the size of incoming GIF files and running the image decoder in a sandboxed or memory‑safe environment.

Generated by OpenCVE AI on October 15, 2026 at 03:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title DevIL through 1.8.0 Heap Buffer Overflow via GIF iGetPalette
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T15:55:35.957Z

Reserved: 2026-10-14T13:07:15.528Z

Link: CVE-2017-20286

cve-icon Vulnrichment

Updated: 2026-10-14T14:52:05.603Z

cve-icon NVD

Status : Received

Published: 2026-10-14T15:16:59.163

Modified: 2026-10-14T16:17:21.430

Link: CVE-2017-20286

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T03:15:13Z

Weaknesses