CVE-2026-44636 libsixel: integer overflow in encoder
- 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, 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.
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 | = >= 1.4.4, < 1.8.7-r2; >= 1.4.4, < 1.8.7-r2 | 1.8.7-r2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| saitoha/libsixel | = >= 1.4.4, < 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 | >= 1.4.4, < 1.8.7-r2 | 1.8.7-r2 |
References
- https://github.com/saitoha/libsixel/security/advisories/GHSA-hx93-w8p2-ffh5 exploit vendor-advisory
- Debian Security Tracker CVE-2026-44636 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org