PoC Monitor
← All CVEs
CVE-2026-44636published 14 May 2026 20:01 UTCData: JSON · API

Saitoha libsixel

libsixel: integer overflow in encoder

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by NVD · CWE-122
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

saitoha libsixel
  • >= 1.4.4, < 1.8.7-r2

Fixed in 1.8.7-r2

Mitigation

Upgrade libsixel to 1.8.7-r2 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published14 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.