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

CVE-2025-64721: Sandboxie-plus RCE Vulnerability

CVE-2025-64721 is a remote code execution vulnerability in Sandboxie-plus Sandboxie that enables sandboxed processes to execute arbitrary code as SYSTEM. This article covers technical details, affected versions, and mitigations.

Published: March 18, 2026

CVE-2025-64721 Overview

CVE-2025-64721 is a critical integer overflow vulnerability in Sandboxie, a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. The vulnerability exists in the SYSTEM-level service SbieSvc.exe, which exposes SbieIniServer::RC4Crypt to sandboxed processes. The handler adds a fixed header size to a caller-controlled value_len parameter without performing overflow checking. When a large value_len value (e.g., 0xFFFFFFF0) is provided, the allocation size wraps, causing a heap overflow when attacker data is copied into the undersized buffer.

Critical Impact

This vulnerability allows sandboxed processes to execute arbitrary code as SYSTEM, fully compromising the host system and defeating the entire purpose of the sandbox isolation mechanism.

Affected Products

  • Sandboxie Plus versions 1.16.6 and below
  • Sandboxie for 32-bit Windows NT-based operating systems
  • Sandboxie for 64-bit Windows NT-based operating systems

Discovery Timeline

  • 2025-12-11 - CVE-2025-64721 published to NVD
  • 2025-12-22 - Last updated in NVD database

Technical Details for CVE-2025-64721

Vulnerability Analysis

This vulnerability represents a classic integer overflow leading to heap overflow scenario. The SbieIniServer::RC4Crypt function in SbieSvc.exe processes requests from sandboxed processes. When calculating the buffer size for allocation, the code adds a fixed header size (sizeof(SBIE_INI_RC4_CRYPT_RPL)) to a user-controlled value_len parameter. Since no overflow check was performed before the addition, an attacker could supply an extremely large value that causes the sum to wrap around due to integer overflow.

For example, if value_len is set to 0xFFFFFFF0 and the header size is added, the resulting allocation size wraps to a small value. When the actual data copy operation occurs, it writes value_len bytes (the original large value) into this undersized buffer, resulting in a heap overflow.

Root Cause

The root cause is CWE-190 (Integer Overflow or Wraparound). The vulnerable code path in sbieiniserver.cpp failed to validate that the value_len parameter, when added to the fixed header size, would not exceed the maximum value representable by ULONG. This missing bounds check allowed malicious sandboxed processes to trigger an integer wrap, leading to an undersized heap allocation followed by a buffer overflow during data copy operations.

Attack Vector

The attack vector is accessible from within a sandboxed process, which can communicate with the SYSTEM-level SbieSvc.exe service. An attacker running malicious code inside a Sandboxie sandbox can craft a specially constructed SBIE_INI_RC4_CRYPT_REQ request with a malicious value_len value. When processed by the service, the integer overflow causes a heap corruption that can be leveraged to achieve arbitrary code execution with SYSTEM privileges, effectively escaping the sandbox entirely.

cpp
// Security patch from sbieiniserver.cpp
// Source: https://github.com/sandboxie-plus/Sandboxie/commit/000492f8c411d24292f1b977a107994347bc7dfa

     SBIE_INI_RC4_CRYPT_REQ *req = (SBIE_INI_RC4_CRYPT_REQ *)msg;
     if (req->h.length < sizeof(SBIE_INI_RC4_CRYPT_REQ))
         return SHORT_REPLY(STATUS_INVALID_PARAMETER);
  
+    if (req->value_len > (ULONG_MAX - sizeof(SBIE_INI_RC4_CRYPT_RPL)))
+        return SHORT_REPLY(STATUS_INVALID_PARAMETER);
 
     ULONG rpl_len = sizeof(SBIE_INI_RC4_CRYPT_RPL) + req->value_len;
     SBIE_INI_RC4_CRYPT_RPL *rpl = (SBIE_INI_RC4_CRYPT_RPL *)LONG_REPLY(rpl_len);
     if (!rpl)

The patch adds a critical validation check that ensures value_len cannot exceed the maximum safe value that prevents integer overflow when added to the header size.

Detection Methods for CVE-2025-64721

Indicators of Compromise

  • Unexpected crashes or restarts of the SbieSvc.exe service
  • Anomalous memory allocation patterns or heap corruption errors in Windows Event logs related to Sandboxie services
  • Evidence of code execution outside the sandbox context from previously sandboxed processes
  • SYSTEM-level processes spawned unexpectedly by sandboxed applications

Detection Strategies

  • Monitor for abnormal IPC communications between sandboxed processes and SbieSvc.exe containing unusually large parameter values
  • Implement EDR rules to detect heap spray patterns or memory corruption attempts targeting Sandboxie services
  • Deploy memory protection mechanisms that can identify heap overflow exploitation attempts
  • Audit process creation events for unexpected privilege escalation from sandboxed process contexts

Monitoring Recommendations

  • Enable detailed logging for Sandboxie service operations and monitor for STATUS_INVALID_PARAMETER returns that may indicate exploitation attempts
  • Configure security monitoring to track all SYSTEM-level process activity associated with Sandboxie components
  • Implement file integrity monitoring on Sandboxie binaries to detect unauthorized modifications
  • Monitor Windows Security Event logs for evidence of privilege escalation from sandbox-contained processes

How to Mitigate CVE-2025-64721

Immediate Actions Required

  • Upgrade Sandboxie to version 1.16.7 or later immediately
  • Review systems for signs of compromise if running affected versions in untrusted environments
  • Consider temporarily disabling Sandboxie services on critical systems until patching is complete
  • Implement network segmentation to limit potential lateral movement if exploitation has occurred

Patch Information

Sandboxie-plus has released version 1.16.7 which addresses this vulnerability. The fix adds proper bounds checking to ensure the value_len parameter cannot cause an integer overflow when calculating buffer allocation sizes. The patch validates that value_len does not exceed ULONG_MAX - sizeof(SBIE_INI_RC4_CRYPT_RPL) before proceeding with memory allocation.

For detailed patch information, refer to the GitHub Security Advisory GHSA-w476-j57g-96vp and the GitHub Release v1.16.7.

Workarounds

  • Restrict which applications can run within Sandboxie to only trusted software until patching is applied
  • Implement application whitelisting to prevent execution of potentially malicious code within sandboxes
  • Deploy additional endpoint protection that can detect and block heap overflow exploitation attempts
bash
# Verify Sandboxie version and update status
# Check current installed version
wmic product where "name like '%%Sandboxie%%'" get version

# After updating, verify the fix is applied
# Version should be 1.16.7 or higher

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSandboxie

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N/E:X/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
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • GitHub Release v1.16.7
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-w476-j57g-96vp
  • Related CVEs
  • CVE-2019-25551: Sandboxie DOS Vulnerability

  • CVE-2021-47883: Sandboxie Plus Privilege Escalation Flaw

  • CVE-2021-47831: Sandboxie 5.49.7 DoS Vulnerability

  • CVE-2022-50920: Sandboxie-Plus Privilege Escalation Flaw
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