Skip to main content

Sandboxie CVE-2025-64721

CRITICAL
Integer Overflow or Wraparound (CWE-190)
2025-12-11 security-advisories@github.com
9.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Run code inside Sandboxie sandbox
  2. Delivery
    Send crafted RC4Crypt RPC to SbieSvc.exe
  3. Exploit
    Overflow value_len allocation size
  4. Execution
    Heap overflow copies attacker data
  5. Persist
    Execute arbitrary code as SYSTEM
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (github) PRIMARY 9.9 CRITICAL
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
vuln.today AI 8.8 HIGH

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).

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
Low
niche Windows sandbox utility, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

71
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:sandboxie-plus:sandboxie:*:*:*:*:plus:*:*:*
CVE-2018-18748 CRITICAL POC
10.0 Oct 29

Sandboxie 5.26 allows a Sandbox Escape via an "import os" statement, followed by os.system("cmd") or os.system("powershe

CVE-2024-49360 HIGH POC
8.4 Nov 29

Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. Rated high sev

CVE-2019-25551 MEDIUM POC
6.2 Mar 21

Sandboxie 5.30 contains a denial of service vulnerability that allows local attackers to crash the application by supply

CVE-2026-34458 CRITICAL
9.3 May 05

INI injection in Sandboxie-Plus versions 1.17.2 and earlier enables any local low-privilege user to bypass EditAdminOnly

CVE-2026-34464 HIGH
8.8 May 05

Stack-based buffer overflow in Sandboxie-Plus SbieSvc service enables sandboxed processes to escape isolation and execut

CVE-2026-34459 HIGH
8.8 May 05

Stack buffer overflow in Sandboxie-Plus SbieSvc proxy service enables SYSTEM privilege escalation from sandboxed process

CVE-2022-28067 HIGH
8.6 May 04

An incorrect access control issue in Sandboxie Classic v5.55.13 allows attackers to cause a Denial of Service (DoS) in t

CVE-2026-32603 HIGH
8.2 May 05

Local denial of service in Sandboxie 1.17.2 and earlier allows unprivileged processes inside Standard Sandbox configurat

CVE-2017-12480 HIGH
7.8 Aug 06

Sandboxie installer 5071703 has a DLL Hijacking or Unsafe DLL Loading Vulnerability via a Trojan horse dwmapi.dll or pro

CVE-2026-45313 HIGH
7.7 Jul 15

Sandbox escape with SYSTEM-level code execution in Sandboxie-Plus before 1.17.6 allows a process confined inside a sandb

CVE-2026-34462 HIGH
7.3 May 05

Stack-based buffer overflow in Sandboxie-Plus ProcessServer handlers allows local authenticated attackers to execute arb

CVE-2026-34461 HIGH
7.3 May 05

Local privilege escalation to SYSTEM in Sandboxie-Plus 1.17.2 and earlier allows low-privileged interactive users to tri

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy