Quick answers
- Is CVE-2026-33021 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-33021 being exploited in the wild.
- How severe is CVE-2026-33021?
- High severity, with a CVSS score of 7.3, published 14 April 2026.
- Which products and versions are affected?
- Saitoha Libsixel <= 1.8.7.
- Is there a fix for CVE-2026-33021?
- A patch was published on 2026-04-14: Fixed in version 1.8.7-r1 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-33021 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-33021?
- Check whether you run Saitoha Libsixel at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A use-after-free vulnerability exists in libsixel versions 1.8.7 and prior within the sixel_encoder_encode_bytes() function. The root cause is in sixel_frame_init(), which stores a pointer to the caller-provided pixel buffer directly in frame->pixels without a defensive copy. If a resize operation is triggered (e.g., via SIXEL_OPTFLAG_WIDTH), sixel_frame_convert_to_rgb888() unconditionally frees this caller-owned buffer and replaces it with an internal allocation. This leaves the caller with a dangling pointer; subsequent access to the original buffer results in a use-after-free. An attacker providing specially crafted frames can trigger this reliably, leading to a crash or potential arbitrary code execution. The issue is fixed in version 1.8.7-r1.
Affected products
- saitoha libsixel <= 1.8.7
Timeline
- 2026-04-14: disclosed
- 2026-04-14: advisory
- 2026-04-14: patched: Fixed in version 1.8.7-r1