Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
wazuh wazuh
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Wazuh是美国Wazuh公司开源的一个应用软件。用于收集,汇总,索引和分析安全数据,帮助组织检测入侵,威胁和行为异常。 Wazuh 4.6.0版本至4.14.5之前版本存在缓冲区错误漏洞,该漏洞源于syscheck组件存在堆缓冲区溢出漏洞,当扩展包含通配符(*或?)的注册表路径时,分配固定大小为256字节的堆缓冲区,攻击者通过创建最大长度255字符的注册表子键,在字符串连接过程中造成越界写入,可能导致拒绝服务(使代理失明)或本地权限提升。

CVSS 4.7 · Medium EPSS 0.13% · P3

Affected Version Matrix 1

VendorProduct Version RangeStatus
wazuh wazuh >= 4.6.0, < 4.14.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40106

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Wazuh: Heap-based Buffer Overflow in syscheck Registry Wildcard Expansion (LPE / DoS)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
Wazuh 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Wazuh是美国Wazuh公司开源的一个应用软件。用于收集,汇总,索引和分析安全数据,帮助组织检测入侵,威胁和行为异常。 Wazuh 4.6.0版本至4.14.5之前版本存在缓冲区错误漏洞,该漏洞源于syscheck组件存在堆缓冲区溢出漏洞,当扩展包含通配符(*或?)的注册表路径时,分配固定大小为256字节的堆缓冲区,攻击者通过创建最大长度255字符的注册表子键,在字符串连接过程中造成越界写入,可能导致拒绝服务(使代理失明)或本地权限提升。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
wazuh wazuh >= 4.6.0, < 4.14.5 -

II. Public POCs for CVE-2026-40106

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40106

登录查看更多情报信息。

Vendor Advisories for CVE-2026-40106 (1)

Same Patch Batch · wazuh · 2026-07-16 · 5 CVEs total

CVE-2026-39359 7.5 HIGH Wazuh: Unauthenticated Path Traversal in authd via Agent Group Name
CVE-2026-34150 7.5 HIGH Wazuh: Heap buffer overflow in wazuh-analysisd via rootcheck event parsing
CVE-2026-33754 6.5 MEDIUM Wazuh: Unauthenticated cluster packet length leads to uncontrolled memory allocation (remo
CVE-2026-33434 4.3 MEDIUM Wazuh: Rate Limit Bypass via /events Endpoint

IV. Related Vulnerabilities

V. Comments for CVE-2026-40106

No comments yet


Leave a comment