Vulnerability Details CVE-2026-40106
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 2.8%
CVSS Severity
CVSS v3 Score 4.7
Products affected by CVE-2026-40106
-
cpe:2.3:a:wazuh:wazuh:4.10.0
-
cpe:2.3:a:wazuh:wazuh:4.10.1
-
cpe:2.3:a:wazuh:wazuh:4.10.2
-
cpe:2.3:a:wazuh:wazuh:4.10.3
-
cpe:2.3:a:wazuh:wazuh:4.10.4
-
cpe:2.3:a:wazuh:wazuh:4.11.0
-
cpe:2.3:a:wazuh:wazuh:4.11.1
-
cpe:2.3:a:wazuh:wazuh:4.11.2
-
cpe:2.3:a:wazuh:wazuh:4.12.0
-
cpe:2.3:a:wazuh:wazuh:4.13.0
-
cpe:2.3:a:wazuh:wazuh:4.13.1
-
cpe:2.3:a:wazuh:wazuh:4.14.0
-
cpe:2.3:a:wazuh:wazuh:4.14.1
-
cpe:2.3:a:wazuh:wazuh:4.14.2
-
cpe:2.3:a:wazuh:wazuh:4.14.3
-
cpe:2.3:a:wazuh:wazuh:4.14.4
-
cpe:2.3:a:wazuh:wazuh:4.6.0
-
cpe:2.3:a:wazuh:wazuh:4.7.0
-
cpe:2.3:a:wazuh:wazuh:4.7.1
-
cpe:2.3:a:wazuh:wazuh:4.7.2
-
cpe:2.3:a:wazuh:wazuh:4.7.3
-
cpe:2.3:a:wazuh:wazuh:4.7.4
-
cpe:2.3:a:wazuh:wazuh:4.7.5
-
cpe:2.3:a:wazuh:wazuh:4.8.0
-
cpe:2.3:a:wazuh:wazuh:4.8.1
-
cpe:2.3:a:wazuh:wazuh:4.8.2
-
cpe:2.3:a:wazuh:wazuh:4.9.0
-
cpe:2.3:a:wazuh:wazuh:4.9.1
-
cpe:2.3:a:wazuh:wazuh:4.9.2