libsixel Integer Overflow Leads to Heap OOB Read, Info Disclosure

libsixel Integer Overflow Leads to Heap OOB Read, Info Disclosure

The National Vulnerability Database (NVD) has detailed CVE-2026-33019, a high-severity integer overflow vulnerability in libsixel, a popular SIXEL encoder/decoder implementation. Affecting versions 1.8.7 and prior, this flaw allows for an out-of-bounds heap read within the img2sixel utility, specifically when handling the --crop option.

The core issue, as reported by the NVD, lies in the absence of overflow-safe bounds checking for positive coordinates up to INT_MAX. When a malicious clip_x value of INT_MAX is supplied to sixel_encoder_do_clip(), the expression clip_w + clip_x overflows, resulting in a large negative value. This bypasses critical bounds guards, enabling an unclamped coordinate to be passed to sixel_frame_clip() and subsequently clip(). The consequence is a source pointer computed far beyond the image buffer, leading memmove() to access memory it shouldn’t. An attacker can leverage this by providing a specially crafted crop argument with any valid image, triggering a reliable crash and, more critically, potential information disclosure from the heap. This critical vulnerability has been addressed in version 1.8.7-r1.

Related ATT&CK Techniques

🛡️ Detection Rules

5 rules · 5 SIEM formats

5 auto-generated detection rules for this incident, mapped to MITRE ATT&CK. Available in Sigma, Splunk SPL, Sentinel KQL, Elastic Lucene, and QRadar AQL.

high T1190 Initial Access

Web Application Exploitation Attempt — CVE-2026-33019

Sigma Splunk SPL Sentinel KQL Elastic QRadar AQL

Get this rule in your SIEM's native format — copy, paste, detect. No manual conversion.

5 Sigma rules mapped to the ATT&CK techniques from this breach — pick your SIEM and get a ready-to-paste query.

Get Detection Rules →

Indicators of Compromise

IDTypeIndicator
CVE-2026-33019 Information Disclosure libsixel versions 1.8.7 and prior
CVE-2026-33019 DoS libsixel versions 1.8.7 and prior
CVE-2026-33019 Integer Overflow img2sixel --crop option handling
CVE-2026-33019 Out-of-bounds Read sixel_encoder_do_clip() function
CVE-2026-33019 Memory Corruption memmove() with unclamped coordinate

Related Posts

Critical RCE Flaw Hits NuGet Gallery Backend

CVE-2026-39399 — NuGet Gallery is a package repository that powers nuget.org. A security vulnerability exists in the NuGetGallery backend job’s handling of .nuspec files within...

vulnerabilityCVEcriticalhigh-severityremote-code-executioncwe-20cwe-22
/CRITICAL /⚑ 4 IOCs

BoidCMS LFI to RCE: A Critical Template Flaw

CVE-2026-39387 — BoidCMS is an open-source, PHP-based flat-file CMS for building simple websites and blogs, using JSON as its database. Versions prior to 2.1.3 are...

vulnerabilityCVEhigh-severityremote-code-executioncwe-98
/HIGH /⚑ 4 IOCs

Nanobot AI: WebSocket Hijack Puts WhatsApp Sessions at Risk

CVE-2026-35589 — nanobot is a personal AI assistant. Versions prior to 0.1.5 contain a Cross-Site WebSocket Hijacking (CSWSH) vulnerability exists in the bridge's WebSocket server...

vulnerabilityCVEhigh-severitycwe-1385
/HIGH /⚑ 5 IOCs