Skip to content
Heist/ feed
Back to feed
Critical

Sandboxie's Integer Overflow in SbieIniServer::RC4Crypt allows sandbox escape and SYSTEM compromise

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-64721
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:58 UTC · Revision 1

Source evidence

Sandboxie's Integer Overflow in SbieIniServer::RC4Crypt allows sandbox escape and SYSTEM compromise

core-osv · Original source

Published 11 Dec 2025, 21:15 UTC

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.

osv:CVE-2025-64721
Complete source record
{
  "id": "7095ba4e65b11e83163059b3159689a72eb3af317581dedd9a679e7952be1f88",
  "url": "https://osv.dev/vulnerability/CVE-2025-64721",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Sandboxie's Integer Overflow in SbieIniServer::RC4Crypt allows sandbox escape and SYSTEM compromise",
    "summary": "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.",
    "evidence": "osv:CVE-2025-64721",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-64721",
      "aliases": [
        "CVE-2025-64721",
        "GHSA-w476-j57g-96vp"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sandboxie-plus/sandboxie",
              "type": "GIT",
              "events": [
                {
                  "introduced": "986dbae2c4366e90f24800a5e11de495fb7ef9d3"
                },
                {
                  "fixed": "69ef65982154df43ed26a93af471fe0d2ddb7bb2"
                },
                {
                  "fixed": "000492f8c411d24292f1b977a107994347bc7dfa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sandboxie-plus:sandboxie:*:*:*:*:plus:*:*:*",
                    "range": [
                      {
                        "introduced": "1.14.0"
                      },
                      {
                        "fixed": "1.16.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "000492f8c411d24292f1b977a107994347bc7dfa"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "69ef65982154df43ed26a93af471fe0d2ddb7bb2"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.16.7"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.16.6",
            "v1.16.4",
            "v1.16.3",
            "v1.16.2",
            "v1.16.1",
            "v1.16.0",
            "v1.15.12",
            "v1.15.10",
            "v1.15.9",
            "v1.15.8",
            "v1.15.7",
            "v1.15.6",
            "v1.15.5",
            "v1.15.4",
            "v1.15.3",
            "v1.15.2",
            "v1.15.1",
            "v1.15.0",
            "v1.14.10",
            "v1.14.9",
            "v1.14.8",
            "v1.14.7",
            "v1.14.6",
            "v1.14.5",
            "v1.14.4",
            "v1.14.3",
            "v1.14.1",
            "v1.14.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64721.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.169468971Z",
      "provider": "osv",
      "references": [
        "https://github.com/sandboxie-plus/Sandboxie/releases/tag/v1.16.7",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64721.json",
        "https://github.com/sandboxie-plus/Sandboxie/security/advisories/GHSA-w476-j57g-96vp",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-64721",
        "https://github.com/sandboxie-plus/Sandboxie/commit/000492f8c411d24292f1b977a107994347bc7dfa"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-190"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64721.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-64721",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489507,
  "published_at": "2025-12-11T21:15:30.685+00:00"
}