{"id":"CVE-2026-54000","state":"PUBLISHED","title":"osquery: Heap buffer overflow in `getProcessCurrentDirectory()` via `processes` table (Windows)","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.","publishedAt":"2026-07-10T14:51:35.142Z","updatedAt":"2026-07-14T03:55:44.196Z","severity":{"score":7,"label":"High","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["osquery osquery"],"affected":[{"vendor":"osquery","product":"osquery","versions":[{"version":"< 5.23.1","status":"affected"}]}],"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"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54000.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54000","state":"PUBLISHED","datePublished":"2026-07-10T14:51:35.142Z","dateUpdated":"2026-07-14T03:55:44.196Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-11T16:34:11.635Z"},"containers":{"cna":{"title":"osquery: Heap buffer overflow in `getProcessCurrentDirectory()` via `processes` table (Windows)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"osquery","product":"osquery","versions":[{"version":"< 5.23.1","status":"affected"}]}],"references":[{"url":"https://github.com/osquery/osquery/security/advisories/GHSA-4r78-6hg6-33gg","name":"https://github.com/osquery/osquery/security/advisories/GHSA-4r78-6hg6-33gg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/osquery/osquery/pull/8934","name":"https://github.com/osquery/osquery/pull/8934","tags":["x_refsource_MISC"]},{"url":"https://github.com/osquery/osquery/commit/3d457c412eb0c986b0c37d8903edae8bc9f9e246","name":"https://github.com/osquery/osquery/commit/3d457c412eb0c986b0c37d8903edae8bc9f9e246","tags":["x_refsource_MISC"]},{"url":"https://github.com/osquery/osquery/releases/tag/5.23.1","name":"https://github.com/osquery/osquery/releases/tag/5.23.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-10T14:51:35.142Z"},"source":{"advisory":"GHSA-4r78-6hg6-33gg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-13T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-54000"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-14T03:55:44.196Z"}}]}}}