Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. Versions 4.6.0 and above prior to 4.14.5 contain a heap-based buffer overflow vulnerability in the syscheck component of the Wazuh agent for Windows. When expanding registry paths containing wildcards (* or ?), the agent allocates a fixed-size heap buffer of 256 bytes (OS_SIZE_256). By creating a registry subkey with a maximum allowed length (255 characters) inside a monitored path, a low-privileged local attacker can force an out-of-bounds write during string concatenation. Since wazuh-agent.exe runs as NT AUTHORITY\SYSTEM, this can lead to a silent Denial of Service (blinding the agent) or potentially Local Privilege Escalation (LPE). This issue has been fixed in version 4.14.5.
Published: 2026-07-16
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap-based buffer overflow occurs in the syscheck component of the Wazuh agent when expanding registry paths that contain wildcard characters. The agent allocates a fixed 256-byte heap buffer and then concatenates a subkey name that can be up to 255 characters long. The out-of-bounds write corrupts memory, leading to either a silent crash of the agent or, because the agent runs as NT AUTHORITY\\SYSTEM, a local privilege escalation to SYSTEM credentials.

Affected Systems

The vulnerability affects Wazuh agent for Windows versions 4.6.0 through 4.14.4. Any system running these releases and actively scanning registry paths that include wildcard characters is susceptible if an attacker can create a sufficiently long subkey under a monitored path.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity, while an EPSS score of less than 1 percent suggests low likelihood of exploitation in the wild. The bug is local and requires an attacker to have the ability to write a 255-character registry subkey under a monitored path. Successful exploitation can silently stop the agent or, because the agent runs as SYSTEM, elevate the attacker to full system privileges. The vulnerability is not listed in CISA KEV.

Generated by OpenCVE AI on July 31, 2026 at 01:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Wazuh agent to version 4.14.5 or later to receive the fix.
  • Remove or reduce the use of wildcard characters in registry paths monitored by syscheck, or ensure any monitored subkeys are shorter than 255 characters.
  • If immediate patching is not feasible, isolate the affected agent from the network or run Wazuh in a restricted environment to limit the impact of a silent denial of service.

Generated by OpenCVE AI on July 31, 2026 at 01:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 17 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Wazuh
Wazuh wazuh
Vendors & Products Wazuh
Wazuh wazuh

Fri, 17 Jul 2026 00:30:00 +0000

Type Values Removed Values Added
Description Wazuh is a free and open source platform used for threat prevention, detection, and response. Versions 4.6.0 and above prior to 4.14.5 contain a heap-based buffer overflow vulnerability in the syscheck component of the Wazuh agent for Windows. When expanding registry paths containing wildcards (* or ?), the agent allocates a fixed-size heap buffer of 256 bytes (OS_SIZE_256). By creating a registry subkey with a maximum allowed length (255 characters) inside a monitored path, a low-privileged local attacker can force an out-of-bounds write during string concatenation. Since wazuh-agent.exe runs as NT AUTHORITY\SYSTEM, this can lead to a silent Denial of Service (blinding the agent) or potentially Local Privilege Escalation (LPE). This issue has been fixed in version 4.14.5.
Title Wazuh: Heap-based Buffer Overflow in syscheck Registry Wildcard Expansion (LPE / DoS)
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T14:31:32.183Z

Reserved: 2026-04-09T01:41:38.536Z

Link: CVE-2026-40106

cve-icon Vulnrichment

Updated: 2026-07-17T14:31:00.758Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T01:15:18Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow