CVE-2026-44636

HIGH CVSS 3.1: 7.8 EPSS 0.10%
Updated Oct 26, 2026
Saitoha
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions 1.4.4 — 1.8.7-r2
Fixed In 1.8.7
Type CWE-190 (Integer Overflow), CWE-122 (Heap-based Buffer Overflow)
Vendor Saitoha
Public PoC No

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, signed integer overflow in sixel_encode_highcolor's allocation size calculation can lead to a heap buffer overflow. The public sixel_encode entry point validates only that width and height are greater than zero, with no upper bound. width and height are multiplied as plain int when computing the allocation size for paletted_pixels and normalized_pixels.

Any caller that asks libsixel to encode a pixel buffer with width times height greater than INT_MAX (about 2.15 billion) will hit a wrapped allocation size; under the right wrap, the malloc succeeds with a buffer much smaller than the encoder expects, and the encoder writes past the end of the heap allocation. This vulnerability is fixed in 1.8.7-r2.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Saitoha Libsixel
cpe:2.3:a:saitoha:libsixel:*:*:*:*:*:*:*:*
1.4.4 1.8.7-r2