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

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-10 · Modified: 2026-07-14
- Record: https://cvemate.com/vulnerability/CVE-2026-54000 · JSON: https://cvemate.com/vulnerability/CVE-2026-54000/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v4.0, CVE.org) 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
- EPSS: 0.108%, percentile 1.259%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

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

---

Data as of 2026-12-05T06:22:18.951Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
