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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-45798— Wazuh: Pre-auth stack-buffer-overflow in compare_wazuh_versions reachable from wazuh-authd (TCP/1515) via crafted enrollment V: field

Quick assessment

Affected
wazuh wazuh
Exploitation
Public or AI PoC available; prioritize validation
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.5.0版本至4.14.6之前版本和5.0.0-beta1版本至5.0.0-beta2之前版本存在缓冲区错误漏洞,该漏洞源于compare_wazuh_versions()函数将攻击者控制的enrollment V:字段复制到10字节栈缓冲区时未显式终止缓冲区,可能导致远程拒绝服务。

CVSS 7.5 · High EPSS 0.50% · P40

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
wazuh wazuh >= 4.5.0, < 4.14.6 affected
>= 5.0.0-beta1, < 5.0.0-beta2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-45798

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: Pre-auth stack-buffer-overflow in compare_wazuh_versions reachable from wazuh-authd (TCP/1515) via crafted enrollment V: field
Source: CVE Program / CVE List V5
Vulnerability Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.5.0 until 4.14.6 and 5.0.0-beta2, compare_wazuh_versions() in src/shared/version_op.c copies the attacker-controlled enrollment V: field into a 10-byte stack buffer with strncpy() but does not explicitly terminate the buffer. The function is reachable before authentication through wazuh-authd on TCP port 1515 when anonymous TLS enrollment is enabled. A version string of at least nine non-null bytes can cause strchr() and strtok() to read beyond ver2 and can make strtok() write a null byte into adjacent stack memory, allowing a remote denial of service. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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.5.0版本至4.14.6之前版本和5.0.0-beta1版本至5.0.0-beta2之前版本存在缓冲区错误漏洞,该漏洞源于compare_wazuh_versions()函数将攻击者控制的enrollment V:字段复制到10字节栈缓冲区时未显式终止缓冲区,可能导致远程拒绝服务。
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.5.0, < 4.14.6 -

II. Public POCs for CVE-2026-45798

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8803 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-45798

登录查看更多情报信息。

Patches & Fixes for CVE-2026-45798 (2)

Vendor Advisories for CVE-2026-45798 (1)

Vendor Pages for CVE-2026-45798 (2)

Same Patch Batch · wazuh · 2026-08-19 · 13 CVEs total

CVE-2026-48162 9.1 CRITICAL Wazuh: cluster peer can read arbitrary master files and forge offline REST API administrat
CVE-2026-48024 9.1 CRITICAL Wazuh: merged-file header path traversal in cluster sync allows arbitrary file write under
CVE-2026-49441 9.1 CRITICAL Wazuh : peer-controlled metadata key in process_files_from_worker non-merged branch allows
CVE-2026-44901 8.4 HIGH Wazuh Cluster DAPI Protocol Deserialization of Untrusted Data Remote Code Execution Vulner
CVE-2026-41424 8.2 HIGH Wazuh: Privilege Escalation via Admin-Protection Bypass in update-user API Endpoint
CVE-2026-44252 7.7 HIGH Wazuh Manager dapi RBAC Bypass Allows Privilege Escalation
CVE-2026-46343 7.5 HIGH Wazuh: Arbitrary File Deletion via Cluster Protocol – Incomplete Path Validation in end_re
CVE-2026-44254 5.3 MEDIUM Wazuh: Stack Out-of-Bounds Write in remoted Decompression Path
CVE-2026-44256 5.3 MEDIUM Wazuh: CRLF Log Injection via Unsanitized Basic-Auth Username
CVE-2026-44255 5.3 MEDIUM Wazuh: Username Enumeration via Timing Side-Channel
CVE-2026-49392 5.3 MEDIUM Wazuh: Local SQL injection in FIM db due to path lookup interpolation in wazuh-syscheckd
CVE-2026-44253 4.9 MEDIUM Wazuh: Cluster Protocol Memory Exhaustion (DoS) via unbounded receive_str allocation and d

IV. Related Vulnerabilities

V. Comments for CVE-2026-45798

No comments yet


Leave a comment