CVE-2026-40106: Wazuh: Heap-based Buffer Overflow in syscheck Registry Wildcard Expansion (LPE / DoS)
CVE-2026-40106 affects 30 listed versions of Wazuh in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Wazuh
30 of 82 listed versions are affected. Fixed in 4.14.5. The newest release, 4.14.11, is not affected.
4.14.4 4.14.3 4.14.2 4.14.1 4.14.0 4.13.1 4.13.0 4.12.0 4.11.2 4.11.1 4.11.0 4.10.5 4.10.4 4.10.3 4.10.2 4.10.1 4.10.0 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.5 4.7.4 4.7.3 4.7.2 4.7.1 4.7.0 4.6.0
What it is
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by GitHub on 17 July 2026. Last changed 20 July 2026.
Sources
Check one version you run: look CVE-2026-40106 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.