
CVE catalog
CVE-2026-33021
libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain a use-after-free vulnerability in sixel_encoder_encode_bytes() because sixel_frame_init(
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain a use-after-free vulnerability in sixel_encoder_encode_bytes() because sixel_frame_init() stores the caller-owned pixel buffer pointer directly in frame->pixels without making a defensive copy. When a resize operation is triggered, sixel_frame_convert_to_rgb888() unconditionally frees this caller-owned buffer and replaces it with a new internal allocation, leaving the caller with a dangling pointer. Any subsequent access to the original buffer by the caller constitutes a use-after-free, confirmed by AddressSanitizer. An attacker who controls incoming frames can trigger this bug repeatedly and predictably, resulting in a reliable crash with potential for code execution. This issue has been fixed in version 1.8.7-r1.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libsixel | sid | 1:1.8.7-r2-1 | fixed |
| Debian | libsixel | forky | 1:1.8.7-r2-1 | fixed |
| Debian | libsixel | trixie | 1.10.5-1 | vulnerable |
| Debian | libsixel | bookworm | 1.10.3-3 | vulnerable |
| Cpe | libsixel | Not reported | Not reported | vulnerable |
| Cpe | libsixel | Not reported | 1.8.7-r1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libsixel | source | sid | 1:1.8.7-r2-1 | not yet assigned | Not reported | [1136211] |
| Debian | libsixel | source | forky | 1:1.8.7-r2-1 | not yet assigned | Not reported | [1136211] |
| Debian | libsixel | source | trixie | (unfixed) | not yet assigned | Not reported | [1136211] |
| Debian | libsixel | source | bookworm | (unfixed) | not yet assigned | Not reported | [1136211] |
| Cpe | libsixel | cpe | Not reported | 1.8.7-r1 | Not reported | Not reported | Not reported |
Notes
[trixie] libsixel: Minor issue [bookworm] libsixel: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libsixel1]Affected
Source package: [libsixel]
Details (2)
1.10.3-3· amd64 · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
1.10.3-3· arm64 · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
- [libsixel-bin]Affected
Source package: [libsixel]
Details (2)
1.10.3-3· amd64 · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
1.10.3-3· arm64 · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
- [libsixel-dev]Affected
Source package: [libsixel]
Details (2)
1.10.3-3· amd64 · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
1.10.3-3· arm64 · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
- [libsixel-examples]Affected
Source package: [libsixel]
Details (2)
1.10.3-3· all · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
1.10.3-3· all · bookwormAffected
nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12
[Debian 13 (Trixie)]
- [libsixel1]Affected
Source package: [libsixel]
Details (2)
1.10.5-1· amd64 · trixieAffected
nvd · libsixel · debian · 13
1.10.5-1· arm64 · trixieAffected
nvd · libsixel · debian · 13
- [libsixel-bin]Affected
Source package: [libsixel]
Details (2)
1.10.5-1· amd64 · trixieAffected
nvd · libsixel · debian · 13
1.10.5-1· arm64 · trixieAffected
nvd · libsixel · debian · 13
- [libsixel-dev]Affected
Source package: [libsixel]
Details (2)
1.10.5-1· amd64 · trixieAffected
nvd · libsixel · debian · 13
1.10.5-1· arm64 · trixieAffected
nvd · libsixel · debian · 13
- [libsixel-examples]Affected
Source package: [libsixel]
Details (2)
1.10.5-1· all · trixieAffected
nvd · libsixel · debian · 13
1.10.5-1· all · trixieAffected
nvd · libsixel · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-33021]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-33021]
- [https://security-tracker.debian.org/tracker/CVE-2026-33021]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33021.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]