Back to overview

CVE-2026-40106

MEDIUM
4.7
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-40106
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-04-09 01:41 UTC
Published
2026-07-16 23:57 UTC
Last updated
2026-07-16 23:57 UTC
Primary CWE
CWE-122
CWE-122: Heap-based Buffer Overflow
Vendor / Product
wazuh / wazuh
Sources
cve.org  ·  NVD

Severity & Metrics

4.7 MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products (1)
VendorProductPlatformVersions
wazuh wazuh >= 4.6.0, < 4.14.5
Weakness (CWE)
CWESourceDescription
CWE-122 cna CWE-122: Heap-based Buffer Overflow
CVSS scores (1)
ScoreSeverityVersionSourceVector
4.7 MEDIUM 3.1 cna CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
References (1)
Back to overview