The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-61146

CVE-2025-61146: Libsixel Memory Leak DoS Vulnerability

CVE-2025-61146 is a memory leak denial-of-service vulnerability in Libsixel that affects versions up to v1.8.7. This post covers the technical details, affected versions, security impact, and mitigation strategies.

Published: February 27, 2026

CVE-2025-61146 Overview

A memory leak vulnerability was discovered in saitoha libsixel versions up to v1.8.7. The vulnerability exists within the malloc_stub.c component and can lead to resource exhaustion when processing crafted input, potentially causing denial of service conditions on affected systems.

Critical Impact

Applications using libsixel for SIXEL graphics processing may experience memory exhaustion and service degradation when processing malicious input files.

Affected Products

  • libsixel_project libsixel versions up to and including v1.8.7
  • Applications utilizing libsixel for SIXEL graphics encoding/decoding
  • Terminal emulators and image converters implementing libsixel

Discovery Timeline

  • 2026-02-23 - CVE CVE-2025-61146 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2025-61146

Vulnerability Analysis

This vulnerability is classified as CWE-401: Missing Release of Memory after Effective Lifetime. The flaw resides in the memory allocation stub component (malloc_stub.c) of the libsixel library. When processing certain input files, the library fails to properly release allocated memory, resulting in a memory leak that accumulates over time or during repeated operations.

The vulnerability requires local access to exploit, meaning an attacker would need to either have local system access or convince a user to process a specially crafted file through an application using libsixel. While no authentication is required to trigger the vulnerability, the impact is limited to availability degradation through memory exhaustion.

Root Cause

The root cause stems from improper memory management in the malloc_stub.c component. Memory allocated during image processing operations is not properly freed under certain conditions, leading to gradual memory consumption. The issue was identified and reported by security researcher @optionGo through GitHub issue #207.

Attack Vector

The attack vector is local, requiring an attacker to provide a maliciously crafted input file to an application using libsixel. This could be achieved through:

  1. Providing a crafted image file to a terminal emulator supporting SIXEL graphics
  2. Processing malicious input through the img2sixel converter utility
  3. Any application consuming untrusted SIXEL-encoded content

The patch introduces test cases to validate proper handling of problematic input:

text
 issue-200:
 	converters/img2sixel --7bit-mode -8 --invert --palette-type=auto --verbose tests/issue/200/POC_img2sixel_heap_buffer_overflow -o /dev/null
 
+issue-207: all
+	converters/img2sixel -h 50% -r lanczos3 -w 300px tests/issue/207/poc; test $$? = 255 -o $$? = 127
+
+issue-207-vexe:
+	CC=clang CFLAGS="-fsanitize=address -O0 -g -fno-omit-frame-pointer" tools/vexe ubuntu issue-207
+
 libsixel-libsixel-issue-73:
 	converters/img2sixel tests/issue/libsixel-libsixel/73/stbi_1561_poc.bin

Source: GitHub Commit Log for Libsixel

Detection Methods for CVE-2025-61146

Indicators of Compromise

  • Gradual memory consumption increase in processes using libsixel
  • Unexpected out-of-memory errors in terminal emulators or image processing applications
  • System performance degradation when processing SIXEL graphics content

Detection Strategies

  • Monitor memory usage patterns for applications utilizing libsixel libraries
  • Implement memory profiling tools such as Valgrind or AddressSanitizer to detect leaks
  • Check installed libsixel version against vulnerable versions (up to v1.8.7)
  • Review application logs for memory allocation failures or resource exhaustion warnings

Monitoring Recommendations

  • Configure system resource monitoring to alert on abnormal memory consumption
  • Implement process-level memory limits for applications processing untrusted SIXEL content
  • Deploy endpoint detection to identify repeated crashes or restarts of affected applications
  • Monitor for presence of proof-of-concept files matching known patterns from the disclosed issue

How to Mitigate CVE-2025-61146

Immediate Actions Required

  • Update libsixel to a patched version that includes commit e0ba6685262a3679cc5b9009c0c5b7dc8a3f262e
  • Review applications in your environment that depend on libsixel for SIXEL graphics processing
  • Limit exposure by restricting processing of untrusted SIXEL-encoded content
  • Implement resource limits on processes using libsixel to contain potential memory exhaustion

Patch Information

The vulnerability has been addressed in the official libsixel repository. The fix is documented in GitHub Issue Report for Libsixel and implemented in commit e0ba6685262a3679cc5b9009c0c5b7dc8a3f262e. Organizations should update to the latest version of libsixel that includes this security fix.

Workarounds

  • Implement memory limits using ulimit or cgroups for processes using libsixel
  • Restrict SIXEL graphics processing to trusted input sources only
  • Consider sandboxing applications that process untrusted SIXEL content
  • Monitor and restart affected processes if memory consumption exceeds thresholds
bash
# Configuration example - Limit memory for img2sixel process
ulimit -v 524288  # Set virtual memory limit to 512MB
img2sixel input.png -o output.sixel

# Alternative: Use cgroups to limit memory
cgcreate -g memory:/libsixel_limit
echo 536870912 > /sys/fs/cgroup/memory/libsixel_limit/memory.limit_in_bytes
cgexec -g memory:libsixel_limit img2sixel input.png -o output.sixel

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibsixel

  • SeverityMEDIUM

  • CVSS Score4.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-401
  • Technical References
  • GitHub Gist Code Snippet
  • Vendor Resources
  • GitHub Commit Log for Libsixel

  • GitHub Issue Report for Libsixel
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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