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

CVE-2025-47154: Ladybird LibJS RCE Vulnerability

CVE-2025-47154 is a use-after-free remote code execution flaw in LibJS within Ladybird browser that enables attackers to execute arbitrary code via malicious JavaScript files. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 18, 2026

CVE-2025-47154 Overview

CVE-2025-47154 is a critical use-after-free vulnerability in LibJS, the JavaScript engine used by the Ladybird browser. The vulnerability exists in the ECMAScriptFunctionObject::internal_construct function where the vector that arguments_list references is improperly freed, leading to a use-after-free condition. Remote attackers can exploit this vulnerability to execute arbitrary code by crafting a malicious JavaScript file.

The Ladybird browser is an independent, open-source web browser project. While the project is noted to be in a pre-alpha state and "only suitable for use by developers," the vulnerability nonetheless represents a serious security concern for anyone using the browser for testing or development purposes.

Critical Impact

Remote attackers can achieve arbitrary code execution through a crafted JavaScript file, potentially leading to complete system compromise when a user visits a malicious webpage or executes a crafted .js file.

Affected Products

  • Ladybird Browser (versions before commit f5a6704)
  • LibJS JavaScript Engine (integrated within Ladybird)
  • All platforms running affected Ladybird versions

Discovery Timeline

  • May 1, 2025 - CVE-2025-47154 published to NVD
  • May 2, 2025 - Last updated in NVD database

Technical Details for CVE-2025-47154

Vulnerability Analysis

This use-after-free vulnerability occurs in the JavaScript engine's handling of function construction. The root issue lies in how the arguments_list vector is managed during the execution context creation for ECMAScript function objects. When a function is constructed, the arguments are passed via a vector reference, but the underlying memory can be freed while still being referenced, creating a classic use-after-free scenario.

The vulnerability is remotely exploitable via network-delivered JavaScript content. No privileges or user interaction beyond visiting a malicious page are required, and successful exploitation can impact resources beyond the vulnerable component's security scope.

Root Cause

The vulnerability stems from improper memory management in the ECMAScriptFunctionObject::internal_construct function within LibJS. Specifically, the code failed to properly copy the arguments data into the execution context before the source vector could potentially be freed. This is categorized under CWE-820 (Missing Synchronization), indicating a timing-related memory safety issue where the vector's lifetime was not properly synchronized with its usage.

Attack Vector

The attack vector is network-based, requiring an attacker to deliver a crafted JavaScript file to the victim. This could be accomplished through:

  1. Hosting malicious JavaScript on a web server and enticing a user to visit the page
  2. Injecting malicious JavaScript into a compromised website
  3. Delivering a malicious .js file that the victim opens directly

The vulnerability allows attackers to manipulate freed memory, potentially achieving arbitrary code execution with the privileges of the browser process.

cpp
// Security patch from Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp
// Fix: Copy arguments into execution context immediately to prevent UAF

 {
     auto& vm = this->vm();
 
+    auto callee_context = ExecutionContext::create();
+
+    // Non-standard
+    callee_context->arguments.ensure_capacity(max(arguments_list.size(), m_formal_parameters.size()));
+    callee_context->arguments.append(arguments_list.data(), arguments_list.size());
+    callee_context->passed_argument_count = arguments_list.size();
+    if (arguments_list.size() < m_formal_parameters.size()) {
+        for (size_t i = arguments_list.size(); i < m_formal_parameters.size(); ++i)
+            callee_context->arguments.append(js_undefined());
+    }
+
     // 1. Let callerContext be the running execution context.
     // NOTE: No-op, kept by the VM in its execution context stack.

Source: GitHub Commit Update

Detection Methods for CVE-2025-47154

Indicators of Compromise

  • Unusual memory access patterns in browser processes executing JavaScript
  • Crash dumps indicating heap corruption or invalid memory access in LibJS components
  • Suspicious JavaScript files with complex argument manipulation patterns designed to trigger memory corruption
  • Process memory anomalies following execution of untrusted JavaScript content

Detection Strategies

  • Deploy memory safety monitoring tools to detect heap corruption and use-after-free conditions
  • Implement browser-level sandboxing and process isolation to contain potential exploitation
  • Monitor for anomalous behavior in Ladybird browser processes, particularly during JavaScript execution
  • Use endpoint detection solutions capable of identifying memory exploitation techniques

Monitoring Recommendations

  • Enable crash reporting and analyze any crashes occurring in LibJS or related browser components
  • Monitor network traffic for suspicious JavaScript delivery to Ladybird browser instances
  • Implement logging for browser process behavior to detect potential exploitation attempts
  • Consider using memory-safe debugging tools during Ladybird browser development and testing

How to Mitigate CVE-2025-47154

Immediate Actions Required

  • Update Ladybird browser to a version that includes commit f5a6704 or later
  • Avoid using vulnerable versions of Ladybird to browse untrusted websites
  • Consider temporarily disabling JavaScript execution in Ladybird until patched
  • Review the exploit analysis to understand the attack surface

Patch Information

The vulnerability has been addressed in commit f5a670421954fc7130c3685b713c621b29516669 in the Ladybird repository. The fix ensures that arguments are immediately copied into the execution context before any operations that could free the source vector, preventing the use-after-free condition.

Users should pull the latest changes from the Ladybird GitHub repository and rebuild the browser to apply the security fix.

Workarounds

  • Disable JavaScript execution in Ladybird browser configuration until the patch is applied
  • Use the browser only for trusted, local development content rather than browsing external websites
  • Consider using an alternative browser for general web browsing until the vulnerability is patched
  • Implement network-level filtering to block potentially malicious JavaScript content
bash
# Configuration example - Rebuild Ladybird with the security patch
git clone https://github.com/LadybirdBrowser/ladybird.git
cd ladybird
git checkout f5a670421954fc7130c3685b713c621b29516669
# Follow build instructions for your platform
./Meta/ladybird.sh run ladybird

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLadybird

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability1.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-820
  • Technical References
  • GitHub Commit Update

  • Jessie Cafe Exploit Analysis

  • Hacker News Discussion
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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