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-2026-3392

CVE-2026-3392: Lily-lang Lily Use-After-Free Vulnerability

CVE-2026-3392 is a use-after-free vulnerability in Lily-lang Lily affecting versions up to 2.3. It involves null pointer dereference in the eval_tree function. This article covers technical details, affected versions, impact, and mitigation.

Published: March 6, 2026

CVE-2026-3392 Overview

A null pointer dereference vulnerability has been identified in FascinatedBox Lily programming language interpreter up to version 2.3. The vulnerability exists in the eval_tree function within the file src/lily_emitter.c. When triggered, this manipulation causes a null pointer dereference condition that can lead to application crashes and denial of service. The attack requires local execution and has been publicly disclosed with exploit details made available.

Critical Impact

This vulnerability allows local attackers to crash the Lily interpreter through crafted input, potentially disrupting development workflows or applications relying on the Lily scripting language.

Affected Products

  • lily-lang lily up to version 2.3
  • Lily programming language interpreter
  • Applications embedding the Lily interpreter

Discovery Timeline

  • 2026-03-01 - CVE CVE-2026-3392 published to NVD
  • 2026-03-04 - Last updated in NVD database

Technical Details for CVE-2026-3392

Vulnerability Analysis

This vulnerability is classified as a null pointer dereference (CWE-404) affecting the Lily programming language interpreter. The flaw resides in the eval_tree function located in src/lily_emitter.c, which is responsible for evaluating parsed syntax tree nodes during the compilation or interpretation phase. When the function encounters a malformed or unexpected tree structure, it fails to properly validate pointer references before dereferencing them, leading to a crash.

The vulnerability requires local access to exploit, meaning an attacker must be able to execute code or provide input to the Lily interpreter on the target system. While this limits the attack surface, it poses risks in scenarios where Lily is used as an embedded scripting language in larger applications that process untrusted input files.

Root Cause

The root cause of this vulnerability lies in insufficient input validation within the eval_tree function. The function processes syntax tree nodes but does not adequately verify that all required tree node references are non-null before attempting to access them. This can occur when parsing malformed Lily source code that creates an incomplete or invalid abstract syntax tree structure.

Attack Vector

The attack is executed locally by providing a specially crafted Lily source file to the interpreter. An attacker constructs malicious input that generates a syntax tree with missing or null node references. When the eval_tree function processes this malformed tree, it attempts to dereference a null pointer, causing the application to crash. The exploit has been made publicly available, lowering the barrier for exploitation.

A proof-of-concept file demonstrating this vulnerability has been published and can be found in the GitHub PoC repository. The vulnerability was reported to the project maintainers via the GitHub issue tracker, but no response has been received at the time of disclosure.

Detection Methods for CVE-2026-3392

Indicators of Compromise

  • Unexpected crashes or segmentation faults in the Lily interpreter process
  • Application logs showing null pointer access violations in lily_emitter.c
  • Core dump files generated from Lily interpreter crashes
  • Unusual or malformed .lily source files being processed

Detection Strategies

  • Monitor for repeated crashes of the Lily interpreter or applications embedding it
  • Implement crash dump analysis to identify null pointer dereferences in eval_tree
  • Deploy file integrity monitoring on Lily source files in production environments
  • Use application sandboxing to contain potential denial of service impacts

Monitoring Recommendations

  • Set up process monitoring for Lily interpreter instances to detect abnormal terminations
  • Configure logging to capture interpreter error messages and crash events
  • Implement rate limiting on Lily script execution in multi-tenant environments
  • Review access logs for attempts to upload or execute unusual Lily source files

How to Mitigate CVE-2026-3392

Immediate Actions Required

  • Restrict execution of untrusted Lily source files until a patch is available
  • Implement input validation on Lily source files before processing
  • Run Lily interpreter processes in sandboxed or isolated environments
  • Monitor the GitHub repository for security updates

Patch Information

At the time of this advisory, the Lily project maintainers have not yet responded to the vulnerability report submitted via GitHub Issue #384. Users are advised to monitor the official repository for patch releases and apply updates as soon as they become available.

Workarounds

  • Avoid processing Lily source files from untrusted sources
  • Implement process isolation using containers or sandboxing technologies
  • Deploy crash handlers to gracefully recover from interpreter failures
  • Consider implementing a pre-parser to validate Lily syntax tree structures before full evaluation
bash
# Configuration example - Run Lily interpreter in restricted environment
# Using firejail to sandbox Lily interpreter execution
firejail --private --net=none lily suspicious_script.lily

# Alternative: Run in Docker container with resource limits
docker run --rm --memory=256m --cpus=0.5 -v /path/to/scripts:/scripts:ro lily-container lily /scripts/input.lily

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/TechLily Lang

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.02%

  • 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-404
  • Technical References
  • GitHub Repository

  • GitHub PoC File

  • VulDB CTI Indicator

  • VulDB #348278

  • VulDB Submission #761328
  • Vendor Resources
  • GitHub Issue Tracker
  • Related CVEs
  • CVE-2026-3391: Lily-lang Lily 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