CVE-2026-44638
JSON

2.5low

libsixel: NULL pointer dereference

Severity
2.5low CVSS:3.1 by GitHub_M
Exploit likelihood
0.13% (higher than 1% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
saitoha libsixel>= 1.0.0, < 1.8.7-r2, from 1.0.0 before 1.8.7-r2CVE List, NVD

All scores

GitHub_M2.5low CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD2.5low CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Classification

CWE-476CWE-690

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

libsixel es una implementación de codificador/decodificador SIXEL derivada de sixel de kmiya. Desde hasta 1.8.7-r1, una comprobación de NULL incorrecta después de una llamada de asignación en sixel_decode_raw y sixel_decode causa una desreferencia de puntero NULL siempre que la asignación falla. La comprobación prueba la dirección del parámetro de salida (siempre no-NULL) en lugar del valor que malloc devolvió. En caso de fallo de asignación, la función continúa y escribe a través de un puntero NULL, colapsando el proceso. Esto es una denegación de servicio contra cualquier llamador de estas API públicas que alcanza una condición de poca memoria. Esta vulnerabilidad está corregida en 1.8.7-r2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44638 changed 2026-05-15CVE Terms of Use
NVDCVE-2026-44638 changed 2026-10-26Public domain