← Vulnerability feed

Vulnerability record · CVE-2026-44637 · published 14 May 2026

CVE-2026-44637: Saitoha libsixel integer overflow vulnerability

SSaitoha · Libsixel

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, a signed integer overflow in the SIXEL parser's image-buffer doubling loop can lead to an out-of-bounds heap write in sixel_decode_raw_impl. context->pos_x grows by repeat_count on every sixel character with no upper bound check. Once pos_x approaches INT_MAX, the expression "pos_x + repeat_count" used to size the image buffer overflows signed int. Depending on how the overflow wraps, the resize check that should reject oversized buffers can be bypassed, after which a subsequent write computes a large attacker-influenced offset into image->data and writes past the allocation. Reachable from any caller that decodes attacker-supplied SIXEL data, including img2sixel. This vulnerability is fixed in 1.8.7-r2.

7.1 CVSS 3.1 High EPSS 0.17% · top 94.7% CWE-190 · Integer overflowCWE-787 · Out-of-bounds write
7.1CVSS 3.1 base score
0.17%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, a signed integer overflow in the SIXEL parser's image-buffer doubling loop can lead to an out-of-bounds heap write in sixel_decode_raw_impl. context->pos_x grows by repeat_count on every sixel character with no upper bound check. Once pos_x approaches INT_MAX, the expression "pos_x + repeat_count" used to size the image buffer overflows signed int. Depending on how the overflow wraps, the resize check that should reject oversized buffers can be bypassed, after which a subsequent write computes a large attacker-influenced offset into image->data and writes past the allocation. Reachable from any caller that decodes attacker-supplied SIXEL data, including img2sixel. This vulnerability is fixed in 1.8.7-r2.

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

Affected products

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

References

Track CVE-2026-44637 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-44637), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.