CVE-2026-110601

libsixel before 1.8.7-r1 and 1.9.0 through 1.10.5 Heap Out-of-Bounds Write via GIF

Published Oct 14, 2026 CVSS 4.0 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 20, 2026, 1:04 AM
Reserved
Oct 14, 2026, 1:07 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 20, 2026, 1:17 AM