CVE-2026-44638 PUBLISHED

libsixel: NULL pointer dereference

Assigner: GitHub_M
Reserved: 07.05.2026 Published: 14.05.2026 Updated: 14.05.2026

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, a wrong NULL check after an allocation call in sixel_decode_raw and sixel_decode causes a NULL pointer dereference whenever the allocation fails. The check tests the address of the output parameter (always non-NULL) instead of the value the malloc returned. On allocation failure, the function continues and writes through a NULL pointer, crashing the process. This is a denial of service against any caller of these public APIs that hits a low-memory condition. This vulnerability is fixed in 1.8.7-r2.

Metrics

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

Product Status

Vendor saitoha
Product libsixel
Versions
  • Version >= 1.0.0, < 1.8.7-r2 is affected

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE
  • CWE-690: Unchecked Return Value to NULL Pointer Dereference CWE