# CVE-2026-54000: osquery: Heap buffer overflow in `getProcessCurrentDirectory()` via `processes` table (Windows)

- Severity: High 7.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-10T14:51:35.142Z
- Modified: 2026-07-14T05:16:18.207Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- osquery osquery: < 5.23.1

## References

- <https://github.com/osquery/osquery/security/advisories/GHSA-4r78-6hg6-33gg>
- <https://github.com/osquery/osquery/pull/8934>
- <https://github.com/osquery/osquery/commit/3d457c412eb0c986b0c37d8903edae8bc9f9e246>
- <https://github.com/osquery/osquery/releases/tag/5.23.1>

## Sources

- CVE List: [CVE-2026-54000](https://www.cve.org/CVERecord?id=CVE-2026-54000), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-54000](https://nvd.nist.gov/vuln/detail/CVE-2026-54000), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-54000 · Whole record: https://cve.day/CVE-2026-54000.json · Rebuilt by cve.day 2026-11-25T22:59:27.639Z
