CVE-2025-64721: Sandboxie's Integer Overflow in SbieIniServer::RC4Crypt allows sandbox escape and SYSTEM compromise
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 valuelen without overflow checking. A large valuelen (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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Sandboxieto a version that resolves this vulnerability.Fixed in 1.16.7
Event History
Frequently Asked Questions
What is the severity of CVE-2025-64721?
CVE-2025-64721 has been classified with a medium severity level due to the potential for unauthorized data manipulation by sandboxed processes.
How do I fix CVE-2025-64721?
To fix CVE-2025-64721, update Sandboxie to version 1.16.7 or later where this vulnerability has been addressed.
What versions of Sandboxie are affected by CVE-2025-64721?
CVE-2025-64721 affects Sandboxie versions 1.16.6 and below.
What type of processes can exploit CVE-2025-64721?
Sandboxed processes can exploit CVE-2025-64721 due to the exposure of the SbieIniServer::RC4Crypt method in the SbieSvc.exe service.
Is there a workaround for CVE-2025-64721?
Currently, the best workaround for CVE-2025-64721 is to avoid using affected versions of Sandboxie until an upgrade can be performed.