Sandboxie
CVE-2025-64721
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun code inside Sandboxie sandbox
-
DeliverySend crafted RC4Crypt RPC to SbieSvc.exe
-
ExploitOverflow value_len allocation size
-
ExecutionHeap overflow copies attacker data
-
PersistExecute arbitrary code as SYSTEM
-
ImpactFull host compromise, sandbox escaped
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already be executing code within a Sandboxie-isolated process that can reach the SYSTEM-level SbieSvc.exe service and invoke the SbieIniServer::RC4Crypt RPC handler, which is exposed to sandboxed processes; the attacker then supplies a large caller-controlled value_len (e.g., 0xFFFFFFF0) that wraps the allocation-size calculation. The product must be Sandboxie version 1.16.6 or earlier on Windows. The key LIMITING factor is that this is a sandbox-escape / local privilege escalation: it is NOT remotely reachable without first landing code inside a sandbox, so despite the vendor's AV:N/PR:N labeling the realistic precondition is prior execution in a low-privilege sandboxed context. No user interaction is needed for the RPC call itself once code is running in the sandbox. |
| Impact | This is a genuine high-priority local privilege escalation / sandbox escape, but the headline CVSS 4.0 score of 9.9 overstates real-world exposure and contains an internal tension that defenders should note. The vendor vector asserts AV:N/PR:N/UI:N (remote, unauthenticated), yet the description makes clear that exploitation requires an attacker to already control a process running INSIDE a Sandboxie sandbox, which then calls the SYSTEM-level SbieSvc.exe RC4Crypt RPC handler - this is a local, post-foothold escalation, not a network-reachable unauthenticated flaw, so AV:N/PR:N appears mislabeled; verify with vendor. Technical impact is severe and well-corroborated: a CWE-190 integer overflow (fixed header size added to attacker-controlled value_len, e.g. 0xFFFFFFF0, wraps the allocation) yields a heap overflow and arbitrary code execution as SYSTEM, fully compromising the host and defeating the product's core isolation guarantee. Exploit maturity signals are mixed: publicly available exploit code exists (GitHub Security Advisory GHSA-w476-j57g-96vp), which raises practical risk, but EPSS is only 0.72% (53rd percentile) and the CVE is NOT in CISA KEV, indicating no confirmed active exploitation in the wild. The low EPSS is consistent with the fact that exploitation presupposes attacker code already executing within a sandbox, narrowing the realistic attacker population. SSVC-style reading: exploitation = PoC available (not active); technical impact = total (SYSTEM/host compromise); automatable = partial, since the attacker must first be inside a sandbox. Net: patch promptly where Sandboxie is deployed as a security boundary, because it directly undermines that boundary, but this is a local escalation requiring an existing sandboxed foothold rather than a wormable remote 9.9. |
| Exploit ScenarioDerived | An attacker lures a user into running malicious code inside a Sandboxie sandbox (e.g., opening a sandboxed browser or executable), relying on the isolation to contain it. The sandboxed process sends a crafted RC4Crypt request to SbieSvc.exe with value_len set to a value like 0xFFFFFFF0, overflowing the allocation-size computation so attacker data is copied into an undersized heap buffer. Public exploit code exists (GHSA-w476-j57g-96vp), and successful exploitation escapes the sandbox and executes arbitrary code as SYSTEM, fully compromising the host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Sandbox escape and local privilege escalation in Sandboxie 1.16.6 and earlier allows a process already running inside a sandboxed environment to execute arbitrary code as SYSTEM on the Windows host by invoking the SYSTEM-level SbieSvc.exe SbieIniServer::RC4Crypt RPC handler with a crafted value_len that integer-overflows the buffer-size calculation and produces a heap overflow. The vendor's CVSS 4.0 vector labels this 9.9 (AV:N/PR:N, no user interaction), while the independent assessment rates it CVSS 3.1 AV:L/AC:L/PR:L/UI:N/S:C with high confidentiality, integrity, and availability impact, because realistic reachability requires the attacker to first land and execute code inside the sandbox - it is not remotely reachable without that foothold. Publicly available exploit code exists, there is no CISA KEV listing, and EPSS is low at 0.72% (53rd percentile); the issue is fixed by the parameter-validation change in version 1.16.7.
RemediationAI
Vendor-released patch: upgrade Sandboxie/Sandboxie-Plus to version 1.16.7 or later (the fix commit is 000492f8c411d24292f1b977a107994347bc7dfa, containing the SbieIniServer::RC4Crypt value_len overflow check that returns STATUS_INVALID_PARAMETER for oversized values). The vendor advisory is at https://github.com/sandboxie-plus/Sandboxie/security/advisories/GHSA-w476-j57g-96vp and the release is at https://github.com/sandboxie-plus/Sandboxie/releases/tag/v1.16.7. There is no robust configuration workaround for the vulnerable handler, because it is exposed by design to sandboxed processes; compensating controls are limited and carry trade-offs. Running fewer or less-trusted applications inside Sandboxie reduces the attack surface but undermines the purpose of the sandbox, and restricting sandboxed processes to unprivileged desktop users does not remove the escape since the bug traverses the sandbox boundary through SbieSvc.exe as SYSTEM. Defenders can monitor for SbieSvc.exe crashes or abnormal heap-related events as a weak detection signal, and should prioritize patching to 1.16.7 given that publicly available exploit code exists, while noting the low EPSS (0.72%) and that exploitation requires the attacker to already be executing code within a sandbox.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Sandboxie uses a privileged Windows service, SbieSvc.exe, which runs as SYSTEM and services requests from sandboxed processes. One exposed handler, SbieIniServer::RC4Crypt, is reachable by code running inside a sandbox and is intended to perform RC4 encryption/decryption on caller-supplied data. The root cause is CWE-190 (integer overflow): the handler adds a fixed header size (sizeof(SBIE_INI_RC4_CRYPT_RPL)) to a caller-controlled value_len without checking for overflow, so a value such as 0xFFFFFFF0 wraps the computed allocation size to a small value. The subsequent copy of attacker-controlled data into that undersized heap buffer overflows the allocation, corrupting adjacent heap memory in a SYSTEM context and enabling arbitrary code execution with SYSTEM privileges on the host. The fix in commit 000492f8c411d24292f1b977a107994347bc7dfa adds parameter validation that rejects value_len values greater than ULONG_MAX minus the reply header size, returning STATUS_INVALID_PARAMETER instead of allocating. The affected CPE, cpe:2.3:a:sandboxie-plus:sandboxie:*:*:*:*:plus:*:*:*, identifies Sandboxie-Plus builds at or below 1.16.6.
Know when Sandboxie gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Exploitation requires code already running in a low-privilege sandboxed process (AV:L, PR:L) calling a local RPC; the sandbox-to-SYSTEM escape is a scope change (S:C) with full host compromise (C/I/A:H).
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. In versions 1.16.6 and below, the SYSTEM-level service SbieSvc.exe exposes SbieIniServer::RC4Crypt to sandboxed processes. The handler adds a fixed header size to a caller-controlled value_len without overflow checking. A large value_len (e.g., 0xFFFFFFF0) wraps the allocation size, causing a heap overflow when attacker data is copied into the undersized buffer. This allows sandboxed processes to execute arbitrary code as SYSTEM, fully compromising the host. This issue is fixed in version 1.16.7.
Executive ViewAI
Sandboxie, a widely used sandboxing tool, contains a critical sandbox escape and local privilege escalation vulnerability (CVE-2025-64721) in versions 1.16.6 and earlier, allowing an attacker with code execution inside a sandbox to gain SYSTEM-level privileges on the Windows host. Publicly available exploit code exists, but no active exploitation has been confirmed (CISA KEV). Vendor-released patch: 1.16.7; organizations relying on Sandboxie for isolation should prioritize immediate upgrades to prevent host compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Sandboxie 5.26 allows a Sandbox Escape via an "import os" statement, followed by os.system("cmd") or os.system("powershe
Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. Rated high sev
Sandboxie 5.30 contains a denial of service vulnerability that allows local attackers to crash the application by supply
INI injection in Sandboxie-Plus versions 1.17.2 and earlier enables any local low-privilege user to bypass EditAdminOnly
Stack-based buffer overflow in Sandboxie-Plus SbieSvc service enables sandboxed processes to escape isolation and execut
Stack buffer overflow in Sandboxie-Plus SbieSvc proxy service enables SYSTEM privilege escalation from sandboxed process
An incorrect access control issue in Sandboxie Classic v5.55.13 allows attackers to cause a Denial of Service (DoS) in t
Local denial of service in Sandboxie 1.17.2 and earlier allows unprivileged processes inside Standard Sandbox configurat
Sandboxie installer 5071703 has a DLL Hijacking or Unsafe DLL Loading Vulnerability via a Trojan horse dwmapi.dll or pro
Sandbox escape with SYSTEM-level code execution in Sandboxie-Plus before 1.17.6 allows a process confined inside a sandb
Stack-based buffer overflow in Sandboxie-Plus ProcessServer handlers allows local authenticated attackers to execute arb
Local privilege escalation to SYSTEM in Sandboxie-Plus 1.17.2 and earlier allows low-privileged interactive users to tri
NVD
CVE.org
EPSS
GitHub
Exploit-DB