CVE-2026-33018 in Saitoha Libsixel
libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain a Use-After-Free vulnerability via the load_gif() function in fromgif.c, where a single sixel_frame_t object is reused across all frames of an animated GIF and gif_init_frame() unconditionally frees and re...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Saitoha | Libsixel | < 1.8.7-r1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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 via the load_gif() function in fromgif.c, where a single sixel_frame_t object is reused across all frames of an animated GIF and gif_init_frame() unconditionally frees and reallocates frame->pixels between frames without consulting the object's reference count. Because the public API explicitly provides sixel_frame_ref() to retain a frame and sixel_frame_get_pixels() to access the raw pixel buffer, a callback following this documented usage pattern will hold a dangling pointer after the second frame is decoded, resulting in a heap use-after-free confirmed by ASAN. Any application using sixel_helper_load_image_file() with a multi-frame callback to process user-supplied animated GIFs is affected, with a reliable crash as the minimum impact and potential for code execution. This issue has been fixed in version 1.8.7-r1.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-33018 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-075693-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2026-04-14 |
| Last modified | 2026-07-25 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
libsixel versions 1.8.7 and prior contain a Use-After-Free vulnerability in the load_gif() function, which can lead to memory corruption and potentially arbitrary code execution.
The vulnerability occurs in the load_gif() function in fromgif.c, where a single sixel_frame_t object is reused across all frames of an animated GIF. The gif_init_frame() function unconditionally frees and reallocates frame->pixels between frames without checking the object's reference count, leading to a Use-After-Free condition.
Questions
What is CVE-2026-33018?
libsixel versions 1.8.7 and prior contain a Use-After-Free vulnerability in the load_gif() function, which can lead to memory corruption and potentially arbitrary code execution.
What is the CVSS score for CVE-2026-33018?
CVE-2026-33018 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2026-33018 actively exploited?
No confirmed active exploitation of CVE-2026-33018 as of 2026-07-26.
How do I remediate CVE-2026-33018?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-33018?
CVE-2026-33018 affects Saitoha Libsixel.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Saitoha","product":"Libsixel","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-25.