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
    • 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-3390

CVE-2026-3390: Lily-lang Lily Buffer Overflow Vulnerability

CVE-2026-3390 is a buffer overflow flaw in Lily-lang Lily affecting versions up to 2.3. The vulnerability allows local attackers to trigger out-of-bounds reads. This article covers technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-3390 Overview

A memory safety vulnerability has been identified in FascinatedBox Lily, an open-source programming language implementation. The vulnerability exists within the patch_line_end function located in the src/lily_build_error.c file, which is part of the Error Reporting component. When triggered, the vulnerability causes an out-of-bounds read condition that could allow a local attacker to access memory beyond intended boundaries, potentially leading to information disclosure or denial of service conditions.

Critical Impact

Local attackers with low privileges can trigger an out-of-bounds read in the error reporting component, potentially causing application crashes or memory information disclosure.

Affected Products

  • Lily-lang Lily versions up to and including 2.3
  • FascinatedBox Lily Error Reporting component (src/lily_build_error.c)
  • Systems running affected Lily language interpreter locally

Discovery Timeline

  • 2026-03-01 - CVE CVE-2026-3390 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-3390

Vulnerability Analysis

This vulnerability is classified as an Out-of-Bounds Read (CWE-125), which also falls under the broader category of Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119). The flaw resides specifically in the patch_line_end function within the error reporting subsystem of the Lily programming language interpreter.

When the error reporting mechanism attempts to process malformed or specially crafted input, the patch_line_end function fails to properly validate buffer boundaries before performing read operations. This allows the function to read memory beyond the allocated buffer, potentially exposing sensitive memory contents or causing the application to crash.

The vulnerability requires local access to exploit, meaning an attacker would need the ability to execute code or provide input to the Lily interpreter on the target system. While this limits the attack surface compared to remote vulnerabilities, it still presents a significant risk in shared computing environments or scenarios where untrusted Lily scripts are executed.

Root Cause

The root cause of this vulnerability lies in insufficient bounds checking within the patch_line_end function in src/lily_build_error.c. The function processes error message line information during the error reporting phase but does not adequately verify that memory access operations remain within the allocated buffer boundaries. This results in an out-of-bounds read condition when processing certain input patterns.

Attack Vector

The attack vector is local, requiring an attacker to have access to the system where the Lily interpreter is running. Exploitation can be achieved by providing specially crafted input that triggers the error reporting functionality, causing the vulnerable patch_line_end function to read beyond allocated memory boundaries.

A proof-of-concept demonstrating this vulnerability has been documented and reported through the GitHub Issue Tracker. The exploit leverages malformed input that triggers the error reporting code path, causing the out-of-bounds read condition in the boundary patching logic. Technical details and a reproduction case are available in the security researcher's repository.

Detection Methods for CVE-2026-3390

Indicators of Compromise

  • Unexpected crashes of the Lily interpreter with memory-related error messages
  • Segmentation faults occurring during error handling in Lily applications
  • Memory sanitizer reports indicating out-of-bounds read operations in lily_build_error.c

Detection Strategies

  • Deploy address sanitizer (ASan) builds of Lily during development and testing to detect out-of-bounds memory accesses
  • Monitor system logs for repeated Lily interpreter crashes or segmentation faults
  • Implement runtime memory safety tools to catch boundary violations in production environments

Monitoring Recommendations

  • Enable core dumps and configure crash analysis tools to identify crashes originating from patch_line_end function
  • Monitor for unusual Lily interpreter behavior patterns that may indicate exploitation attempts
  • Implement application-level logging to capture error conditions in the error reporting subsystem

How to Mitigate CVE-2026-3390

Immediate Actions Required

  • Audit any systems running Lily interpreter versions 2.3 and below for potential exposure
  • Restrict execution of untrusted Lily scripts until a patch is available
  • Consider implementing sandboxing for Lily interpreter processes to limit impact of potential exploitation
  • Monitor the GitHub issue for vendor response and patch availability

Patch Information

As of the last update, the Lily project maintainers have been notified of this vulnerability through a GitHub issue report, but have not yet responded with a patch. Users should monitor the official Lily repository for security updates and apply patches as soon as they become available.

Workarounds

  • Restrict access to the Lily interpreter to trusted users only
  • Avoid processing untrusted Lily scripts or input until a patch is released
  • Deploy the interpreter in a sandboxed environment with limited memory access privileges
  • Compile Lily with memory safety tools (ASan, MSan) to detect and halt exploitation attempts during runtime

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • 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-119

  • CWE-125
  • Technical References
  • GitHub Project Repository

  • GitHub Code Repository

  • VulDB Critical Threat Report

  • VulDB #348276

  • VulDB Submission Details
  • Vendor Resources
  • GitHub Issue Tracker
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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