CVE-2026-44637 libsixel: integer overflow in parser
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libsixel(Debian 12) | = 1.10.3-3; = 1.10.5-1; = 1:1.8.7-1; = 1:1.8.7-2 +6 more | No fix listed | No fix yet |
| debian/libsixel(Debian 13) | = 1.10.5-1; = 1:1.8.7-1; = 1:1.8.7-2; = 1:1.8.7-3 +5 more | No fix listed | No fix yet |
| ubuntu/libsixel(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libsixel(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libsixel(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libsixel(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/libsixel(Debian 14) | < 1:1.8.7-r2-1; = 1.10.5-1; = 1:1.8.7-1; = 1:1.8.7-2 +4 more | 1:1.8.7-r2-1 | Fixed |
| saitoha/libsixel | = >= 0.11.0, < 1.8.7-r2; >= 0.11.0, < 1.8.7-r2 | 1.8.7-r2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| saitoha/libsixel | = >= 0.11.0, < 1.8.7-r2 | No fix listed |
| debian/libsixel(Debian:12) | All versions | No fix listed |
| debian/libsixel(Debian:12) | = 1.10.3-3 | No fix listed |
| debian/libsixel(Debian:12) | = 1.10.5-1 | No fix listed |
| debian/libsixel(Debian:12) | = 1:1.8.7-1 | No fix listed |
| debian/libsixel(Debian:12) | = 1:1.8.7-2 | No fix listed |
| debian/libsixel(Debian:12) | = 1:1.8.7-3 | No fix listed |
| debian/libsixel(Debian:12) | = 1:1.8.7-4 | No fix listed |
| debian/libsixel(Debian:12) | = 1:1.8.7-5 | No fix listed |
| debian/libsixel(Debian:12) | = 1:1.8.7-6 | No fix listed |
| debian/libsixel(Debian:12) | = 1:1.8.7-r2-1 | No fix listed |
| debian/libsixel(Debian:13) | All versions | No fix listed |
| debian/libsixel(Debian:13) | = 1.10.5-1 | No fix listed |
| debian/libsixel(Debian:13) | = 1:1.8.7-1 | No fix listed |
| debian/libsixel(Debian:13) | = 1:1.8.7-2 | No fix listed |
| debian/libsixel(Debian:13) | = 1:1.8.7-3 | No fix listed |
| debian/libsixel(Debian:13) | = 1:1.8.7-4 | No fix listed |
| debian/libsixel(Debian:13) | = 1:1.8.7-5 | No fix listed |
| debian/libsixel(Debian:13) | = 1:1.8.7-6 | No fix listed |
| debian/libsixel(Debian:13) | = 1:1.8.7-r2-1 | No fix listed |
| debian/libsixel(Debian:14) | < 1:1.8.7-r2-1 | 1:1.8.7-r2-1 |
| debian/libsixel(Debian:14) | = 1.10.5-1 | No fix listed |
| debian/libsixel(Debian:14) | = 1:1.8.7-1 | No fix listed |
| debian/libsixel(Debian:14) | = 1:1.8.7-2 | No fix listed |
| debian/libsixel(Debian:14) | = 1:1.8.7-3 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libsixel(Debian:14) | = 1:1.8.7-4 | No fix listed |
| debian/libsixel(Debian:14) | = 1:1.8.7-5 | No fix listed |
| debian/libsixel(Debian:14) | = 1:1.8.7-6 | No fix listed |
| ubuntu/libsixel(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libsixel(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libsixel(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libsixel(Ubuntu:26.10) | All versions | No fix listed |
| saitoha/libsixel | >= 0.11.0, < 1.8.7-r2 | 1.8.7-r2 |
References
- https://github.com/saitoha/libsixel/security/advisories/GHSA-9jm7-77gr-qghv exploit vendor-advisory
- Debian Security Tracker CVE-2026-44637 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org