CVE-2026-33020 | saitoha libsixel up to 1.8.6 SIXEL Encoder sixel_frame_convert_to_rgb888 heap-based overflow
VulDBArchived Apr 15, 2026✓ Full text saved
A vulnerability described as critical has been identified in saitoha libsixel up to 1.8.6 . Affected is the function sixel_frame_convert_to_rgb888 of the component SIXEL Encoder . The manipulation results in heap-based buffer overflow. This vulnerability is reported as CVE-2026-33020 . The attack can be launched remotely. No exploit exists. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357643 · CVE-2026-33020 · GCVE-0-2026-33020
SAITOHA LIBSIXEL UP TO 1.8.6 SIXEL ENCODER SIXEL_FRAME_CONVERT_TO_RGB888 HEAP-BASED OVERFLOW
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.1 $0-$5k 0.68+
Summaryinfo
A vulnerability classified as critical has been found in saitoha libsixel up to 1.8.6. Affected by this vulnerability is the function sixel_frame_convert_to_rgb888 of the component SIXEL Encoder. This manipulation causes heap-based overflow. This vulnerability appears as CVE-2026-33020. The attack may be initiated remotely. There is no available exploit. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability classified as critical was found in saitoha libsixel up to 1.8.6. Affected by this vulnerability is the function sixel_frame_convert_to_rgb888 of the component SIXEL Encoder. The manipulation with an unknown input leads to a heap-based overflow vulnerability. The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). As an impact it is known to affect integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2026-33020 since 03/17/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
Upgrading to version 1.8.7-r1 eliminates this vulnerability.
Productinfo
Vendor
saitoha
Name
libsixel
Version
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
License
open-source
Website
Product: https://github.com/saitoha/libsixel/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 6.2
VulDB Meta Temp Score: 6.1
VulDB Base Score: 5.4
VulDB Temp Score: 5.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.1
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: libsixel 1.8.7-r1
Timelineinfo
03/17/2026 CVE reserved
04/15/2026 +28 days Advisory disclosed
04/15/2026 +0 days VulDB entry created
04/15/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-33020 (🔒)
GCVE (CVE): GCVE-0-2026-33020
GCVE (VulDB): GCVE-100-357643
Entryinfo
Created: 04/15/2026 07:15
Changes: 04/15/2026 07:15 (65)
Complete: 🔍
Cache ID: 99:446:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸