7.3high
Sandboxie-Plus ProcessServer boxname stack buffer overflows via unterminated wide string copy
- Severity
- 7.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Sandboxie-Plus is an open source sandbox-based isolation software for Windows. In versions 1.17.2 and earlier, several ProcessServer handlers (KillAllHandler, SuspendAllHandler, and RunSandboxedHandler) copy a WCHAR boxname[34] field from request structures into WCHAR[40] stack buffers using wcscpy without verifying null termination. Because the service pipe accepts variable-length packets larger than the request structure, an attacker can fill the boxname field with non-zero data and append additional controlled wide characters after the structure. wcscpy then reads past the fixed field and overflows the destination stack buffer. The service pipe is created with a NULL DACL, allowing any local process to connect, and the unsafe copy occurs before authorization checks. This can lead to a crash of the SbieSvc service or potential code execution as SYSTEM. This issue has been fixed in version 1.17.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sandboxie-plus Sandboxie | < 1.17.3, before 1.17.3 | CVE List, NVD |
All scores
| GitHub_M | 7.3high CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Sandboxie-Plus is an open source sandbox-based isolation software for Windows. In versions 1.17.2 and earlier, several ProcessServer handlers (KillAllHandler, SuspendAllHandler, and RunSandboxedHandler) copy a WCHAR boxname[34] field from request structures into WCHAR[40] stack buffers using wcscpy without verifying null termination. Because the service pipe accepts variable-length packets larger than the request structure, an attacker can fill the boxname field with non-zero data and append additional controlled wide characters after the structure. wcscpy then reads past the fixed field and overflows the destination stack buffer. The service pipe is created with a NULL DACL, allowing any local process to connect, and the unsafe copy occurs before authorization checks. This can lead to a crash of the SbieSvc service or potential code execution as SYSTEM. This issue has been fixed in version 1.17.3.
NVD (es)
Sandboxie-Plus es un software de aislamiento de código abierto basado en sandbox para Windows. En las versiones 1.17.2 y anteriores, varios manejadores de ProcessServer (KillAllHandler, SuspendAllHandler y RunSandboxedHandler) copian un campo WCHAR boxname[34] de estructuras de solicitud en búferes de pila WCHAR[40] usando wcscpy sin verificar la terminación nula. Debido a que la tubería de servicio acepta paquetes de longitud variable más grandes que la estructura de solicitud, un atacante puede llenar el campo boxname con datos no nulos y añadir caracteres anchos controlados adicionales después de la estructura. wcscpy luego lee más allá del campo fijo y desborda el búfer de pila de destino. La tubería de servicio se crea con una DACL NULA, permitiendo que cualquier proceso local se conecte, y la copia insegura ocurre antes de las comprobaciones de autorización. Esto puede llevar a un fallo del servicio SbieSvc o a una posible ejecución de código como SYSTEM. Este problema ha sido solucionado en la versión 1.17.3.
References
| https://github.com/sandboxie-plus/Sandboxie/security/advisories/GHSA-9cjg-vh9m-hhx4 | exploit, mitigation, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34462 changed 2026-05-07 | CVE Terms of Use |
| NVD | CVE-2026-34462 changed 2026-07-24 | Public domain |