CVE-2026-40106

Medium

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.

SeverityMedium
CVSS4.7
Exploit probability3. percentile0.1%
ProductWazuh
PublishedJul 17, 2026
First seenJul 17, 2026
Weakness typeCWE-122CWE-122

How to fix

Update
  • wazuh wazuh4.14.5 or later

Affected products

ProductAffected versionsFixed in
wazuh wazuh4.6.0 ≤ v < 4.14.54.14.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.