Description
osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, on Windows, a local unprivileged attacker can cause a heap buffer out-of-bounds write if there is a query of the processes table targeting a maliciously crafted process, due to unchecked PEB string lengths in process command-line and current-directory reads. If exploited successfully, this could allow a potential local privilege escalation from standard user to SYSTEM. This issue is fixed in version 5.23.1.
Severity (CVSS)
| Base score | 7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-122 — CWE-122: Heap-based Buffer Overflow
Affected products
| Vendor | Product | Versions |
|---|---|---|
| osquery | osquery | < 5.23.1 |
References
- https://github.com/osquery/osquery/security/advisories/GHSA-4r78-6hg6-33gg (x_refsource_CONFIRM)
- https://github.com/osquery/osquery/pull/8934 (x_refsource_MISC)
- https://github.com/osquery/osquery/commit/3d457c412eb0c986b0c37d8903edae8bc9f9e246 (x_refsource_MISC)
- https://github.com/osquery/osquery/releases/tag/5.23.1 (x_refsource_MISC)
Generated from the official CVE List on 11 Jul 2026 07:02 UTC.