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-2662

CVE-2026-2662: FascinatedBox lily Out-of-Bounds Read Flaw

CVE-2026-2662 is an out-of-bounds read vulnerability in FascinatedBox lily affecting the count_transforms function in lily_emitter.c. This article covers technical details, affected versions, and mitigation strategies.

Published: February 20, 2026

CVE-2026-2662 Overview

A memory safety vulnerability has been identified in FascinatedBox lily up to version 2.3. This vulnerability affects the count_transforms function in the file src/lily_emitter.c, resulting in an out-of-bounds read condition. The vulnerability requires local access to exploit and could allow an attacker with local privileges to read memory beyond allocated boundaries, potentially leading to information disclosure or application crashes.

Critical Impact

Local attackers can trigger an out-of-bounds read in the lily programming language interpreter, potentially causing denial of service or information leakage through memory disclosure.

Affected Products

  • FascinatedBox lily up to version 2.3
  • Applications embedding the lily interpreter
  • Systems running lily scripts from untrusted sources

Discovery Timeline

  • 2026-02-18 - CVE CVE-2026-2662 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-2662

Vulnerability Analysis

This vulnerability is classified under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer). The flaw exists in the count_transforms function within src/lily_emitter.c, which is responsible for processing code transformations during the compilation/emission phase of the lily interpreter.

The out-of-bounds read occurs when the function fails to properly validate array boundaries before accessing memory. When processing specially crafted input, the function attempts to read beyond the allocated buffer, accessing adjacent memory regions that may contain sensitive data or cause the application to crash.

A proof-of-concept reproduction file has been made publicly available, demonstrating the exploitability of this vulnerability. The project maintainers were informed of the issue through GitHub Issue #381, but no response has been received at the time of disclosure.

Root Cause

The root cause of this vulnerability is insufficient bounds checking in the count_transforms function. The function processes transformation data without adequately verifying that array indices remain within valid memory boundaries. This improper input validation allows maliciously crafted lily scripts to trigger memory access violations.

Attack Vector

The attack requires local access to the target system. An attacker must be able to execute or provide lily scripts to the interpreter. The exploitation scenario involves:

  1. Crafting a malicious lily script that triggers the vulnerable code path
  2. Providing the script to the lily interpreter
  3. The interpreter processes the script and calls count_transforms
  4. The vulnerable function reads beyond buffer boundaries

Since the exploit has been made publicly available, attackers with local access could leverage the provided reproduction case to trigger the vulnerability. The attack does not require any user interaction beyond script execution.

Detection Methods for CVE-2026-2662

Indicators of Compromise

  • Unexpected crashes or segmentation faults in lily interpreter processes
  • Memory access violations logged in system crash reports related to lily_emitter.c
  • Abnormal behavior when processing untrusted lily scripts
  • Core dumps showing out-of-bounds memory access patterns

Detection Strategies

  • Deploy memory sanitizers (AddressSanitizer, Valgrind) in development and testing environments to catch out-of-bounds reads
  • Monitor for crashes in lily-based applications with stack traces pointing to count_transforms or lily_emitter.c
  • Implement file integrity monitoring for lily script files to detect unauthorized modifications
  • Use endpoint detection and response (EDR) solutions to identify abnormal memory access patterns

Monitoring Recommendations

  • Enable crash reporting and analysis for systems running lily interpreter
  • Configure logging for lily interpreter execution to track script processing anomalies
  • Implement sandboxing for lily script execution to contain potential exploitation attempts
  • Monitor system logs for repeated interpreter crashes that may indicate exploitation attempts

How to Mitigate CVE-2026-2662

Immediate Actions Required

  • Avoid executing untrusted lily scripts until a patch is available
  • Implement sandboxing or containerization for lily script execution environments
  • Restrict local access to systems running lily-based applications
  • Monitor the FascinatedBox lily GitHub repository for security updates

Patch Information

No official patch is currently available. The project maintainers were informed of the vulnerability through GitHub Issue #381 but have not yet responded. Users should monitor the official repository for updates and apply patches as soon as they become available.

For technical details and reproduction steps, refer to the VulDB entry and the reproduction example.

Workarounds

  • Run lily scripts only from trusted sources with validated integrity
  • Deploy lily interpreter in isolated environments (containers, VMs, or sandboxes) to limit impact
  • Implement input validation at the application layer before passing scripts to the interpreter
  • Consider disabling lily functionality in production environments until a patch is released
  • Apply principle of least privilege to accounts running lily-based applications

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechFascinatedbox

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-119
  • Technical References
  • GitHub Repository for Lily

  • GitHub Issue Tracker #381

  • GitHub Repro Example

  • VulDB CTIID #346460

  • VulDB #346460

  • VulDB Submission #753166
  • Related CVEs
  • CVE-2026-2660: FascinatedBox Lily Use After Free Flaw
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