{"id":"CVE-2026-40106","title":"Wazuh is a free and open source platform used for threat prevention, detection, and response","summary":"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 Wi…","severity":"medium","cvss":4.7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-122"],"vendor":"wazuh","product":"wazuh","affected":["wazuh >= 4.6.0, < 4.14.5"],"patched":["wazuh 4.14.5"],"published":"2026-07-17","updated":"2026-07-20","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40106","references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-qvrc-pcfc-jhqc","label":"security-advisories@github.com"},{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-qvrc-pcfc-jhqc","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd"],"epss":0.00134,"epssPercentile":0.0324,"ingestedAt":"2026-07-20T02:36:03.308Z","slug":"CVE-2026-40106","body":"## Overview\n\nWazuh 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.\n\n## Affected\n\n- `wazuh >= 4.6.0, < 4.14.5`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `wazuh 4.14.5`","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":25.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}