CVE-2026-40106: Wazuh: Heap-based Buffer Overflow in syscheck Registry Wildcard Expansion (LPE / DoS)

Published Jul 16, 2026
·
Updated

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 (OSSIZE256). 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.

Affected Software

2 affected components
Wazuh Wazuh agent for Windows>4.6.0<=4.14.5
Wazuh Wazuh>=4.6.0<4.14.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade wazuh-agent.exe (Wazuh agent for Windows) - syscheck component to a version that resolves this vulnerability.

    Fixed in 4.14.5

Event History

Jul 16, 2026
CVE Published
via MITRE·11:57 PM
Data Sourced
via MITRE·11:57 PM
DescriptionSeverityWeakness
Jul 17, 2026
Data Sourced
via NVD·02:18 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40106?

The severity of CVE-2026-40106 is rated high with a score of 7.8.

2

How do I fix CVE-2026-40106?

To fix CVE-2026-40106, upgrade the Wazuh agent for Windows to version 4.14.5 or later.

3

What types of attacks can CVE-2026-40106 be used for?

CVE-2026-40106 can potentially allow for local privilege escalation (LPE) and denial of service (DoS) attacks.

4

Which versions of Wazuh are affected by CVE-2026-40106?

CVE-2026-40106 affects Wazuh versions 4.6.0 to 4.14.4.

5

What component of Wazuh is vulnerable in CVE-2026-40106?

The vulnerable component in CVE-2026-40106 is the syscheck component of the Wazuh agent for Windows.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203