CVE-2017-20286
7.8HighPublished Oct 14, 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-787
What an attacker gets
Attackers can achieve arbitrary code execution or crash the application by getting a user or service to process a maliciously crafted GIF. This requires the target system to load the untrusted image file.
Root cause
The iGetPalette() function in il_gif.cpp fails to properly bound writes when processing multi-frame GIFs with local colour tables, overflowing the 768-byte palette buffer on the heap by up to 384 bytes.
Affected versions
DevIL through 1.8.0
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
No official fixed release is listed in the advisory; patch the iGetPalette() function in il_gif.cpp from source or stop processing untrusted GIF files with DevIL.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- 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/issues/67
- 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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1405857.3HighUnauthenticated attackers can upload arbitrary files to the server via the candidates dashboard. This allows for remote code execution if the uploaded files are executable by the web server.
- CVE-2026-1363368.7HighUnauthenticated attackers can extract data from your database via SQL injection. No user interaction or credentials are required.
- CVE-2026-1333508.7HighUnauthenticated attackers can inject malicious scripts into frontend and backend views by uploading documents with crafted titles. This requires a user with administrative privileges to view the document details page.
- CVE-2026-1080457.8HighAuthenticated local attackers can escalate privileges and hijack network traffic. This requires an existing low-privileged user account on the system.
- CVE-2026-1080449.8CriticalUnauthenticated remote attackers can redirect network traffic by modifying the Windows routing table. This is possible because the VPN client's routing service runs with elevated privileges and fails to validate routes.
- CVE-2026-1080438.1HighAn attacker performing a man-in-the-middle attack can execute arbitrary code as the logged-in user. They need to control server responses to inject malicious OpenVPN options.