CVE-2026-33020: CWE-122: Heap-based Buffer Overflow in saitoha libsixel
libsixel versions prior to 1. 8. 7-r1 contain an integer overflow vulnerability in the sixel_frame_convert_to_rgb888() function. This flaw leads to a heap-based buffer overflow when processing large palettised images, causing heap corruption. An attacker can exploit this by providing a specially crafted large palettised PNG, potentially causing a crash or arbitrary code execution. The issue has been fixed in version 1. 8. 7-r1.
AI Analysis
Technical Summary
The vulnerability in saitoha's libsixel (CVE-2026-33020) arises from an integer overflow in sixel_frame_convert_to_rgb888() where int arithmetic is used for allocation size and pointer offset calculations for palettised images. For images with pixel counts exceeding INT_MAX/4, this results in undersized heap allocations and negative pointer offsets, leading to heap buffer overflow during normalization. This heap corruption can be triggered by a crafted large palettised PNG, enabling denial of service or potential arbitrary code execution. The flaw affects versions prior to 1.8.7-r1 and has been addressed in that fixed release.
Potential Impact
Exploitation of this vulnerability allows an attacker to corrupt the heap of the victim process by supplying a specially crafted large palettised PNG image. This can cause a reliable crash (denial of service) and may lead to arbitrary code execution. The CVSS score of 7.1 reflects high severity with local attack vector, low complexity, no privileges required, user interaction needed, and high impact on integrity and availability.
Mitigation Recommendations
This vulnerability is fixed in libsixel version 1.8.7-r1. Users and administrators should upgrade to version 1.8.7-r1 or later to remediate this issue. No other mitigation or temporary workaround is indicated. Patch status is not explicitly confirmed in the vendor advisory, but the fixed version is clearly stated.
CVE-2026-33020: CWE-122: Heap-based Buffer Overflow in saitoha libsixel
Description
libsixel versions prior to 1. 8. 7-r1 contain an integer overflow vulnerability in the sixel_frame_convert_to_rgb888() function. This flaw leads to a heap-based buffer overflow when processing large palettised images, causing heap corruption. An attacker can exploit this by providing a specially crafted large palettised PNG, potentially causing a crash or arbitrary code execution. The issue has been fixed in version 1. 8. 7-r1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in saitoha's libsixel (CVE-2026-33020) arises from an integer overflow in sixel_frame_convert_to_rgb888() where int arithmetic is used for allocation size and pointer offset calculations for palettised images. For images with pixel counts exceeding INT_MAX/4, this results in undersized heap allocations and negative pointer offsets, leading to heap buffer overflow during normalization. This heap corruption can be triggered by a crafted large palettised PNG, enabling denial of service or potential arbitrary code execution. The flaw affects versions prior to 1.8.7-r1 and has been addressed in that fixed release.
Potential Impact
Exploitation of this vulnerability allows an attacker to corrupt the heap of the victim process by supplying a specially crafted large palettised PNG image. This can cause a reliable crash (denial of service) and may lead to arbitrary code execution. The CVSS score of 7.1 reflects high severity with local attack vector, low complexity, no privileges required, user interaction needed, and high impact on integrity and availability.
Mitigation Recommendations
This vulnerability is fixed in libsixel version 1.8.7-r1. Users and administrators should upgrade to version 1.8.7-r1 or later to remediate this issue. No other mitigation or temporary workaround is indicated. Patch status is not explicitly confirmed in the vendor advisory, but the fixed version is clearly stated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-17T17:22:14.667Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69deb96d82d89c981f0b1a11
Added to database: 4/14/2026, 10:02:21 PM
Last enriched: 4/14/2026, 10:17:45 PM
Last updated: 4/14/2026, 11:04:01 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.