← Vulnerability feed

Vulnerability record · CVE-2026-33019 · published 14 April 2026

CVE-2026-33019: Saitoha libsixel out-of-bounds read vulnerability

SSaitoha · Libsixel

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow leading to an out-of-bounds heap read in the --crop option handling of img2sixel, where positive coordinates up to INT_MAX are accepted without overflow-safe bounds checking. In sixel_encoder_do_clip(), the expression clip_w + clip_x overflows to a large negative value when clip_x is INT_MAX, causing the bounds guard to be skipped entirely, and the unclamped coordinate is passed through sixel_frame_clip() to clip(), which computes a source pointer far beyond the image buffer and passes it to memmove(). An attacker supplying a specially crafted crop argument with any valid image can trigger an out-of-bounds read in the heap, resulting in a reliable crash and potential information disclosure. This issue has been fixed in version 1.8.7-r1.

7.1 CVSS 3.1 High EPSS 0.21% · top 90.5% CWE-125 · Out-of-bounds readCWE-190 · Integer overflow
7.1CVSS 3.1 base score
0.21%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 tagged exploit
25 Jul 2026Last modified by NVD

Description

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow leading to an out-of-bounds heap read in the --crop option handling of img2sixel, where positive coordinates up to INT_MAX are accepted without overflow-safe bounds checking. In sixel_encoder_do_clip(), the expression clip_w + clip_x overflows to a large negative value when clip_x is INT_MAX, causing the bounds guard to be skipped entirely, and the unclamped coordinate is passed through sixel_frame_clip() to clip(), which computes a source pointer far beyond the image buffer and passes it to memmove(). An attacker supplying a specially crafted crop argument with any valid image can trigger an out-of-bounds read in the heap, resulting in a reliable crash and potential information disclosure. This issue has been fixed in version 1.8.7-r1.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-33019 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-19637Saitoha libsixel integer overflow vulnerabilityAn issue was discovered in libsixel 1.8.2. There is an integer overflow in the function sixel_decode_raw_impl at fromsixel.c.EPSS 1.2%9.8CVE-2019-19638Saitoha libsixel integer overflow vulnerabilityAn issue was discovered in libsixel 1.8.2. There is a heap-based buffer overflow in the function load_pnm at frompnm.c, due to an integer overflow.EPSS 1.2%9.8CVE-2019-19635Saitoha libsixel out-of-bounds write vulnerabilityAn issue was discovered in libsixel 1.8.2. There is a heap-based buffer overflow in the function sixel_decode_raw_impl at fromsixel.c.EPSS 1.2%9.8CVE-2019-19636Saitoha libsixel integer overflow vulnerabilityAn issue was discovered in libsixel 1.8.2. There is an integer overflow in the function sixel_encode_body at tosixel.c.EPSS 1.2%8.8CVE-2022-27044Saitoha libsixel out-of-bounds write vulnerabilitylibsixel 1.8.6 is affected by Buffer Overflow in libsixel/src/quant.c:876.EPSS 1.0%8.8CVE-2022-27046Saitoha libsixel use after free vulnerabilitylibsixel 1.8.6 suffers from a Heap Use After Free vulnerability in in libsixel/src/dither.c:388.EPSS 1.0%8.8CVE-2020-21547Saitoha libsixel out-of-bounds write vulnerabilityLibsixel 1.8.2 contains a heap-based buffer overflow in the dither_func_fs function in tosixel.c.EPSS 1.1%8.8CVE-2020-21548Saitoha libsixel out-of-bounds write vulnerabilityLibsixel 1.8.3 contains a heap-based buffer overflow in the sixel_encode_highcolor function in tosixel.c.EPSS 1.1%

Source: NIST National Vulnerability Database (record CVE-2026-33019), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.