CVE-2026-33021: saitoha libsixel Use After Free
Vulnerability summary
CVE-2026-33021 is a high (CVSS 7.3) Use After Free vulnerability in saitoha libsixel. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 14-04-2026PublishedVulnerability first disclosed.
- 16-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- NVDNIST7.3HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
-0.04 pp
From 0.25% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundLibsixel
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian1 product
- libsixelAll versions (No fix recorded) | < 1:1.8.7-r2-1
Saitoha1 product
- libsixel< 1.8.7-r1
Ubuntu1 product
- libsixelAll versions (No fix recorded)
3 vendors · 3 products
References
5 links- github.com/saitoha/libsixel/security/advisories/GHSA-j6m5-2cc7-3whcX Refsource CONFIRMREPORTExploitVendor Advisory