CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-33021

HighCVSS 7.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

16th percentile - higher than 16% of all known CVEs

Summary

libsixel to implementacja kodera/dekodera SIXEL, która w wersjach 1.8.7 i wcześniejszych zawiera podatność typu use-after-free w funkcji sixel_encoder_encode_bytes(). Problem wynika z bezpośredniego przechowywania wskaźnika na bufor pikseli w frame->pixels bez wykonania defensywnej kopii, co prowadzi do niebezpiecznego dostępu po zwolnieniu pamięci.

Risk Assessment

Atakujący, który kontroluje przychodzące ramki, może wielokrotnie i przewidywalnie wywołać ten błąd, co prowadzi do awarii aplikacji oraz potencjalnego wykonania złośliwego kodu. To stwarza poważne zagrożenie dla stabilności i bezpieczeństwa systemu.

Recommendation

Zaleca się aktualizację do wersji 1.8.7-r1, w której problem został naprawiony, aby zminimalizować ryzyko związane z tą podatnością.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS