# CVE-2026-44636: libsixel: integer overflow in encoder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-122, CWE-190
- **Published:** 2026-05-14T20:01:27.050Z
- **Modified:** 2026-10-26T14:10:00.130Z

## Who should check

- Anyone running saitoha libsixel \>= 1.4.4, \< 1.8.7-r2

## 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.

## Affected and fixed versions

- saitoha libsixel: \>= 1.4.4, \< 1.8.7-r2 (cvelist)

## Mitigation

- Upgrade libsixel to 1.8.7-r2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-44636. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-44636.md
Affected: saitoha libsixel >= 1.4.4, < 1.8.7-r2
Fixed in: saitoha libsixel 1.8.7-r2

Steps:
1. Search this machine and project for saitoha libsixel: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-44636 being exploited?

There is no confirmed exploitation: CVE-2026-44636 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-44636?

High: CVSS 7.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-44636?

saitoha libsixel \>= 1.4.4, \< 1.8.7-r2.

### Is there a fix for CVE-2026-44636?

Yes. Fixed in saitoha libsixel 1.8.7-r2. Upgrade libsixel to 1.8.7-r2 or later.

### How do I check if I'm affected by CVE-2026-44636?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/saitoha/libsixel/security/advisories/GHSA-hx93-w8p2-ffh5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-44636>

HTML: <https://flawdb.com/CVE-2026-44636> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-44636>
