cve.bz

CVE-2017-20286 dentonw devil: Out-of-bounds Write

8.5 highEPSS 0.2%

High (8.5) in dentonw devil. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2017-20286 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-20286?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-20286?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-20286 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
DentonW DevILthrough 1.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14devilno fix listedDEBIAN-CVE-2017-20286
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moredevilno fix listedUBUNTU-CVE-2017-20286

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A heap-based buffer overflow flaw, rated important severity, was found in DevIL (Developer's Image Library) in the GIF palette handling routine iGetPalette() in il_gif.cpp. When an application linked against DevIL loads a specially crafted GIF image, such as a two-frame GIF whose second frame uses disposal method 1 with a local colour table, the library can write up to 384 controlled bytes beyond a 768-byte heap-allocated palette buffer. Successful exploitation can cause memory corruption leading to an application crash or possible arbitrary code execution in the context of the user running the application. Exploitation requires a victim or an automated process to open a malicious GIF file, and no privileges are required beyond delivering that file. Red Hat and upstream both rate this flaw CVSS v3.1 7.8 (IMPORTANT); upstream additionally publishes a CVSS v4.0 score of 8.5. In Red Hat's product scope this issue affects the DevIL package in Fedora, where a fix is being pursued through the Fedora community project.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-20286.

References

Check your stackJSON