Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33023

CVE-2026-33023: libsixel Use-After-Free Vulnerability

CVE-2026-33023 is a use-after-free vulnerability in libsixel SIXEL encoder/decoder that can lead to memory corruption or code execution. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 17, 2026

CVE-2026-33023 Overview

A use-after-free vulnerability exists in libsixel, a SIXEL encoder/decoder implementation derived from kmiya's sixel. When built with the --with-gdk-pixbuf2 option, the load_with_gdkpixbuf() function in loader.c improperly handles memory cleanup, leading to a use-after-free condition that can be exploited through crafted image files.

Critical Impact

Attackers can supply a crafted image to any application built against libsixel with gdk-pixbuf2 support to trigger information disclosure, memory corruption, or potentially achieve code execution.

Affected Products

  • libsixel versions 1.8.7 and prior (when built with --with-gdk-pixbuf2)
  • Applications using libsixel with gdk-pixbuf2 support enabled

Discovery Timeline

  • 2026-04-14 - CVE-2026-33023 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2026-33023

Vulnerability Analysis

This vulnerability (CWE-416: Use After Free) occurs due to inconsistent memory management practices within the libsixel codebase. The core issue lies in how the load_with_gdkpixbuf() function handles cleanup of sixel_frame_t objects.

When processing images through the gdk-pixbuf2 code path, the cleanup logic directly frees the sixel_frame_t object and its internal buffers using raw free() calls. This approach completely bypasses the reference counting mechanism that was established when the object was created via the refcounted constructor sixel_frame_new().

The inconsistency becomes critical because the frame object is exposed to public callbacks during processing. If a callback legitimately calls sixel_frame_ref(frame) to retain a reference to the frame object, that reference becomes a dangling pointer after sixel_helper_load_image_file() returns. Any subsequent access to this frame or its fields triggers the use-after-free condition.

Root Cause

The root cause is a fundamental consistency failure between two cleanup strategies in the same codebase. The load_with_builtin() function correctly uses sixel_frame_unref() to decrement the reference count and only free memory when appropriate. However, load_with_gdkpixbuf() uses raw free() calls that ignore the reference count entirely.

This dual-strategy approach creates a dangerous situation where memory can be freed while valid references still exist, leaving dangling pointers that lead to use-after-free vulnerabilities when dereferenced.

Attack Vector

The vulnerability requires local access and user interaction, as an attacker must convince a user to process a crafted image file through an application built with libsixel's gdk-pixbuf2 support. The attack flow involves:

  1. Attacker crafts a malicious image file designed to trigger specific callback behavior
  2. Victim processes the image through a libsixel-enabled application with gdk-pixbuf2 support
  3. The callback retains a reference to the frame via sixel_frame_ref()
  4. The cleanup path frees the frame memory directly, ignoring the reference count
  5. Subsequent access to the retained reference triggers use-after-free
  6. Depending on heap state, this can lead to information disclosure, memory corruption, or code execution

The vulnerability has been confirmed via AddressSanitizer, demonstrating reliable reproducibility.

Detection Methods for CVE-2026-33023

Indicators of Compromise

  • Application crashes or unexpected termination when processing image files through libsixel
  • AddressSanitizer reports indicating heap-use-after-free in loader.c or related functions
  • Memory corruption errors originating from libsixel's gdk-pixbuf2 code path
  • Unusual process behavior following image file processing in applications using libsixel

Detection Strategies

  • Deploy memory sanitizers (AddressSanitizer, Valgrind) in development and testing environments to detect use-after-free conditions
  • Monitor application logs for segmentation faults or memory-related exceptions when processing image files
  • Implement runtime integrity checks for applications using libsixel with gdk-pixbuf2 support
  • Use endpoint detection solutions to identify anomalous behavior following image file operations

Monitoring Recommendations

  • Enable verbose logging for applications that process SIXEL images to capture potential exploitation attempts
  • Monitor for unexpected memory access patterns in libsixel-dependent applications
  • Track application crashes correlated with image file processing activities
  • Implement file integrity monitoring for libsixel library files to detect unauthorized modifications

How to Mitigate CVE-2026-33023

Immediate Actions Required

  • Upgrade libsixel to version 1.8.7-r1 or later immediately
  • Audit all applications built with libsixel to determine if gdk-pixbuf2 support is enabled
  • Consider disabling gdk-pixbuf2 support temporarily by rebuilding without the --with-gdk-pixbuf2 flag if immediate patching is not possible
  • Restrict processing of untrusted image files in affected applications until patched

Patch Information

The vulnerability has been addressed in libsixel version 1.8.7-r1. The fix ensures consistent use of the reference counting mechanism (sixel_frame_unref()) across all code paths, including the gdk-pixbuf2 cleanup routine. Organizations should update to this version or later to remediate the vulnerability.

For additional details, refer to the GitHub Security Advisory GHSA-hr25-g2j6-qjw6 and the GitHub Release v1.8.7-r1.

Workarounds

  • Rebuild libsixel without gdk-pixbuf2 support by omitting the --with-gdk-pixbuf2 configure option
  • Implement input validation to restrict image file sources to trusted locations only
  • Deploy application sandboxing to limit the impact of potential exploitation
  • Use memory-safe wrappers or alternative image processing libraries until the patch can be applied
bash
# Rebuild libsixel without gdk-pixbuf2 support as a temporary workaround
./configure --without-gdk-pixbuf2
make clean
make
make install

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLibsixel

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • GitHub Release v1.8.7-r1

  • GitHub Security Advisory GHSA-hr25-g2j6-qjw6
  • Related CVEs
  • CVE-2026-33021: libsixel Use-After-Free Vulnerability

  • CVE-2026-33018: libsixel Use-After-Free Vulnerability

  • CVE-2026-33019: libsixel Buffer Overflow Vulnerability

  • CVE-2026-33020: libsixel Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English