Description
libsixel before 1.8.7-r1 and 1.9.0 through 1.10.5 contains a heap out-of-bounds write vulnerability in gif_init_frame() in src/fromgif.c, which never checks the GIF transparent color index against the palette size. Attackers can supply a crafted GIF with a small color table and large transparent index, processed with a background color set, to write bytes past the palette buffer, causing heap corruption or crashes.
Published: 2026-10-14
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap Out-of-Bounds Write leading to potential heap corruption or crashes
Action: Immediate Patch
AI Analysis

Impact

The vulnerable library exposes a heap out‑of‑bounds write within the gif_init_frame() function by failing to validate the GIF transparent color index against the palette size. This flaw allows an attacker to feed a specially crafted GIF file with a small color table and a large transparent index to corrupt memory on the heap or trigger a crash. The resulting heap corruption could lead to process termination or, with additional exploitation steps, arbitrary code execution, though the CVE itself does not confirm a privilege escalation vector.

Affected Systems

The flaw affects the libsixel library from saitoha, specifically all releases prior to 1.8.7‑r1 and releases from 1.9.0 through 1.10.5. Applications that depend on these vulnerable library versions are at risk when processing GIF images. The vendor supplied CPE indicates the entire library is impacted, no selective modules are listed.

Risk and Exploitability

With a CVSS score of 5.8, the risk is moderate. EPSS score of < 1 % indicates a very low but non‑zero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog, suggesting it has not been widely exploited yet. The attack requires an application that accepts user‑supplied GIFs and uses the libsixel library to render or process them. While the error can cause a crash, it may also pave the way for more advanced attacks if the attacker can force the corrupted heap to control execution flow. Therefore, patching should be prioritized and observation of anomalous crashes is recommended.

Generated by OpenCVE AI on October 15, 2026 at 21:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libsixel to a fixed release that is newer than 1.10.5, such as 1.10.6 or later, which resolves the heap out‑of‑bounds write.
  • If an immediate update is not possible, disable GIF processing in the application or remove any feature that sets a background color during GIF decoding to avoid invoking the vulnerable path.
  • Apply additional runtime protection such as sandboxing the image decoding component or validating the transparent color index against the color table size before passing the GIF to libsixel.

Generated by OpenCVE AI on October 15, 2026 at 21:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

Type Values Removed Values Added
Description libsixel before 1.8.7-r1 and 1.9.0 through 1.10.5 contains a heap out-of-bounds write vulnerability in gif_init_frame() in src/fromgif.c, which never checks the GIF transparent color index against the palette size. Attackers can supply a crafted GIF with a small color table and large transparent index, processed with a background color set, to write bytes past the palette buffer, causing heap corruption or crashes.
Title libsixel before 1.8.7-r1 and 1.9.0 through 1.10.5 Heap Out-of-Bounds Write via GIF
First Time appeared Saitoha
Saitoha libsixel
Weaknesses CWE-787
CPEs cpe:2.3:a:saitoha:libsixel:*:*:*:*:*:*:*:*
Vendors & Products Saitoha
Saitoha libsixel
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Saitoha Libsixel
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T01:04:11.699Z

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

Link: CVE-2026-110601

cve-icon Vulnrichment

Updated: 2026-10-20T01:04:06.185Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:11.530

Modified: 2026-10-20T01:17:11.203

Link: CVE-2026-110601

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T11:00:07Z

Weaknesses