BreachSpiderVerified, not vibes

CVE-2026-33020 in Saitoha Libsixel

High 7.1

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow which leads to a heap buffer overflow via sixel_frame_convert_to_rgb888() in frame.c, where allocation size and pointer offset computations for palettised images (PAL1, PAL2, PAL4) are ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.1
EPSS0.2%
EPSS percentile8th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Saitoha Libsixel < 1.8.7-r1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow which leads to a heap buffer overflow via sixel_frame_convert_to_rgb888() in frame.c, where allocation size and pointer offset computations for palettised images (PAL1, PAL2, PAL4) are performed using int arithmetic before casting to size_t. For images whose pixel count exceeds INT_MAX / 4, the overflow produces an undersized heap allocation for the conversion buffer and a negative pointer offset for the normalization sub-buffer, after which sixel_helper_normalize_pixelformat() writes the full image data starting from the invalid pointer, causing massive heap corruption confirmed by ASAN. An attacker providing a specially crafted large palettised PNG can corrupt the heap of the victim process, resulting in a reliable crash and potential arbitrary code execution. This issue has been fixed in version 1.8.7-r1.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-33020
BreachSpider IDBS-2026-GLOBAL-150863-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Published2026-04-14
Last modified2026-07-25
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-122: Heap-Based Buffer Overflow

Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.

CWE-190: Integer Overflow or Wraparound

Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-122, CWE-190

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

libsixel versions 1.8.7 and prior are vulnerable to a heap buffer overflow due to an integer overflow in the sixel_frame_convert_to_rgb888() function, affecting the handling of palettised images.

An attacker can exploit this vulnerability by providing a specially crafted SIXEL image file that triggers the integer overflow during the conversion process, leading to a heap buffer overflow. This could potentially allow for arbitrary code execution or denial of service.

Questions

What is CVE-2026-33020?

libsixel versions 1.8.7 and prior are vulnerable to a heap buffer overflow due to an integer overflow in the sixel_frame_convert_to_rgb888() function, affecting the handling of palettised images.

What is the CVSS score for CVE-2026-33020?

CVE-2026-33020 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H. EPSS: 0.2%.

Is CVE-2026-33020 actively exploited?

No confirmed active exploitation of CVE-2026-33020 as of 2026-07-26.

How do I remediate CVE-2026-33020?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-33020?

CVE-2026-33020 affects Saitoha Libsixel.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Saitoha","product":"Libsixel","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-25.