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 authenticode table targeting a maliciously crafted binary, due to publisher information parsing in getOriginalProgramName. 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.
Published: 2026-07-10
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap buffer overflow is triggered in osquery on Windows when a query accesses the authenticode table containing a maliciously crafted binary. During publisher information parsing in the getOriginalProgramName function the code writes beyond the intended memory bounds. This improper bounds checking (CWE-122) can allow an attacker with a standard user account to acquire SYSTEM privileges if the overflow is successfully exploited, effectively enabling local privilege escalation.

Affected Systems

The issue affects Windows installations of osquery running any version earlier than 5.23.1 that have the authenticode table feature enabled. The vulnerability is resolved in version 5.23.1 and later. Users operating older releases are exposed regardless of other system patches.

Risk and Exploitability

The CVSS score of 7 indicates moderate severity, but the exploit requires local access: the attacker must be able to execute osquery queries on the target system. The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, implying no widespread exploitation has been observed. Consequently, the risk is significant only in environments where unprivileged users can run arbitrary osquery queries that reference the authenticode table.

Generated by OpenCVE AI on July 29, 2026 at 10:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the update to osquery version 5.23.1 or later, which contains a fix that removes the bounds check error.
  • If an immediate upgrade is not possible, restrict the use of osquery to users with administrative privileges to prevent standard users from executing queries against the authenticode table.
  • Consider disabling the authenticode table feature altogether in environments where it is not required to eliminate the vulnerable code path.

Generated by OpenCVE AI on July 29, 2026 at 10:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Osquery
Osquery osquery
Vendors & Products Osquery
Osquery osquery

Fri, 10 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
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 authenticode table targeting a maliciously crafted binary, due to publisher information parsing in getOriginalProgramName. 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.
Title osquery: Heap buffer overflow via `authenticode` table (Windows)
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T03:55:44.942Z

Reserved: 2026-06-11T16:34:11.635Z

Link: CVE-2026-54001

cve-icon Vulnrichment

Updated: 2026-07-14T01:51:10.660Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:00:13Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow