{"id":"CVE-2026-40106","published":"2026-07-16T23:57:16Z","modified":"2026-07-17T14:31:32Z","title":"Wazuh: Heap-based Buffer Overflow in syscheck Registry Wildcard Expansion (LPE / DoS)","vendor":"wazuh","product":"wazuh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00134,"percentile":0.02948,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-qvrc-pcfc-jhqc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.59},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"wazuh","affectedVersions":[{"vendor":"wazuh","product":"wazuh","versions":[">= 4.6.0, < 4.14.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-17T14:31:18.374964Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45088","exploited":false,"provenance":"source"}}