Wazuh Manager
CVE-2026-62365
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain enrolled agent credential (default: no enrollment password on port 1515)
-
DeliverySend crafted EventChannel JSON/XML via TCP port 1514
-
ExploitParser accumulates four max-sized unnamed Data elements into join_data
-
Installsnprintf writes 81,926 bytes past 65,535-byte heap boundary
-
C2Corrupt adjacent join_data2 chunk header metadata
-
Executefree(join_data2) triggers glibc SIGABRT
-
ImpactEntire wazuh-analysisd process terminates, all agent log ingestion stops
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an agent enrolled to the target Wazuh manager - a valid enrolled-agent credential is needed to submit events on TCP port 1514 (consistent with CVSS PR:L). The GHSA advisory notes that Wazuh Docker and most package-based deployments do not configure an enrollment password on port 1515 by default, enabling unauthenticated self-enrollment and making the PR:L prerequisite trivially satisfiable in default configurations. No Windows operating system is required on the submitting agent; the EventChannel event type is declared in the message protocol header and not validated against the agent's actual OS. The vulnerability resides in the wazuh-analysisd process on the Wazuh manager, which must be running and processing events. Affected versions span Wazuh Manager 3.9.0 (when the Windows EventChannel decoder was introduced) through at least v4.14.7 - patch availability in v4.14.7 is disputed and unconfirmed (see confidence notes). Managers enforcing strict enrollment passwords and mutual TLS agent authentication narrow exploitation to already-enrolled legitimate agents but do not eliminate risk, since any enrolled agent - including a compromised endpoint - can trigger the crash. |
| Impact | Two conflicting CVSS assessments exist for this vulnerability. NVD assigns 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) reflecting the confirmed DoS impact; the GHSA researcher assigns 9.0 Critical (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) reflecting a credible but conditional RCE path enabled by non-PIE compilation and partial RELRO in the wazuh-analysisd binary. The guaranteed confirmed impact is a full analysisd process crash (all agent log ingestion stops) triggered deterministically by any enrolled agent submitting four max-sized unnamed EventChannel Data elements - a mathematically exact 16,391-byte overflow proven in the advisory. The RCE path is credible and technically grounded (writable GOT at known fixed addresses, attacker-controlled overflow content), but requires obtaining a heap address via a second primitive (additional vulnerability, timing analysis, or brute-forcing 13-bit glibc ASLR entropy), making it conditional rather than guaranteed from this CVE alone. EPSS data was not provided in the input. No KEV listing is present. The decision label of 'this_month' is consistent with high-severity DoS risk. A critical unresolved conflict exists regarding fix status: the NVD description states the vulnerability is fixed in v4.14.7, but the GHSA advisory provides MD5 checksum evidence that winevtchannel.c is byte-for-byte identical between v4.14.5 and v4.14.7, and the referenced PR #37198 appears to represent the proposed fix that has not yet been incorporated into a released version. Security teams MUST NOT treat v4.14.7 as a patched baseline until Wazuh confirms this discrepancy. No public exploit identified at time of analysis beyond the crash trigger PoC in the GHSA advisory. |
| Exploit ScenarioDerived | An attacker with an enrolled agent credential - trivially obtained on default Docker and package deployments that require no enrollment password on port 1515 - connects to the Wazuh manager on TCP port 1514 and sends a Windows EventChannel JSON envelope embedding four unnamed XML Data elements, each at the 20,480-byte parser maximum. The fourth accumulation causes snprintf to write 81,926 bytes into the 65,535-byte join_data heap buffer, corrupting the adjacent join_data2 chunk header; the immediately following free(join_data2) triggers a glibc SIGABRT, terminating the entire wazuh-analysisd process and halting log ingestion for every agent the manager handles. A public PoC crash trigger script is included in the GHSA advisory; full RCE would additionally require a heap address disclosure primitive not present in the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Heap buffer overflow in the Wazuh Manager's DecodeWinevt Windows EventChannel decoder lets any agent enrolled to the manager crash the wazuh-analysisd daemon and stop log ingestion for every agent that manager handles. Unnamed <Data> element contents are accumulated into a fixed 65,535-byte heap buffer while the growing content length, not the buffer capacity, is passed to snprintf, so four maximum-sized 20,480-byte elements write roughly 81,926 bytes into that allocation and the subsequent free() trips glibc heap-metadata checks, aborting the process. The prerequisite is an enrolled-agent credential (CVSS PR:L), which default Docker and most package-based deployments make easy to satisfy because port 1515 enrollment has no password unless one is configured; the assessed impact is availability only (CVSS 5.3, AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H), a public PoC crash-trigger reference exists but is not verified as working exploit code, and no KEV listing or confirmed active exploitation is associated with this CVE.
RemediationAI
Apply the upstream fix from PR https://github.com/wazuh/wazuh/pull/37198 (commit 07c5b2829f671eac0436412701a346a26555fdc7), which replaces the content-length snprintf sizes with OS_MAXSTR for both the initial and accumulation writes, and adds the test_winevt_dec_join_data_large_accumulation regression test. Package metadata identifies 4.14.7 as the fixed release and the vendor published https://github.com/wazuh/wazuh/releases/tag/v4.14.7, but advisory GHSA-whhr-gxxr-f6pm states the winevtchannel.c file in 4.14.7 is identical to 4.14.5, so verify after upgrading that the snprintf calls are bounded by OS_MAXSTR (or that the file hash differs from 6644401c2c485f49f0ad2d801c8e0a63) and, if it does not, apply the commit as a backport; do not assume the version number alone closes the issue. Because no configuration toggle disables the vulnerable accumulation path, the practical compensating controls are access controls: set a strong authd enrollment password on TCP 1515 and/or disable open enrollment so PR:L is no longer trivially satisfied (side effect: bulk agent provisioning requires distributing the shared secret or registering agents manually), and firewall TCP 1514 so only known agent addresses reach the manager (side effect: roaming agents and NAT'ed endpoints need address management or a VPN concentrator). These restrictions reduce exposure to arbitrary self-enrolled agents but do not remove the risk, since any legitimately enrolled agent, including a compromised endpoint, can still submit the four-element payload and abort analysisd; running analysisd under a supervisor that restarts it limits the ingestion outage but does not prevent the crash or the heap corruption itself.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The bug is a classic CWE-122 heap-based buffer overflow caused by misuse of the snprintf size argument. In src/analysisd/decoders/winevtchannel.c, DecodeWinevt() allocates join_data with os_calloc(OS_MAXSTR, ...) where OS_MAXSTR is 65,535 bytes, and that allocation is never resized. When concatenating each unnamed Windows EventChannel <Data> element it calls snprintf(join_data, strlen(join_data) + strlen(filtered_string) + 3, "%s, %s", join_data2, filtered_string), treating the accumulated content length as if it were the destination capacity; snprintf writes up to n-1 bytes, so the destination bound grows with the input instead of being capped at OS_MAXSTR. The XML parser invoked through OS_ReadXMLString uses flag_truncate=false and caps each element near XML_MAXSIZE = 20,480 bytes, which makes the arithmetic deterministic: element 1 writes ~20,482 bytes, element 2 ~40,962, element 3 ~61,444 (still inside the 65,535-byte chunk) and element 4 ~81,926 bytes, an overflow of roughly 16,391 bytes derived entirely from attacker-supplied element content. The corrupted region includes the chunk metadata of join_data2, which is freed on the very next line, so glibc's malloc_printerr path raises SIGABRT and takes down the whole analysisd process rather than a single worker. The upstream fix in PR #37198 replaces both dynamic size arguments with OS_MAXSTR and adds a unit test that feeds five 16,000-byte Data elements expecting safe truncation. The GHSA additionally speculates about a non-PIE binary, Partial RELRO and tcache poisoning leading to remote code execution; that chain is not demonstrated and is not reflected in the assessed vector, which scores confidentiality and integrity impact as none and limits scope to unchanged.
Know when Wazuh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Network-accessible via enrolled agent credential (PR:L, AC:H for specific 4-element crafting); confirmed impact is analysisd DoS only - RCE requires an additional heap disclosure primitive beyond this CVE.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. DecodeWinevt in src/analysisd/decoders/winevtchannel.c accumulates unnamed Windows EventChannel Data element contents into the fixed 65,535-byte join_data heap buffer but passes the growing content length, rather than the OS_MAXSTR buffer capacity, as the snprintf size. An enrolled agent can submit an EventChannel message containing four maximum-sized unnamed Data elements, causing the fourth accumulation to write beyond join_data and corrupt adjacent heap metadata. The subsequent free of join_data2 causes the wazuh-analysisd process to terminate, stopping log ingestion for all agents handled by that manager. This vulnerability is fixed in 4.14.7.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron
In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman
Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version
Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr
Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v
A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi
Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac
Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,
Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele
The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa
Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr
NVD
CVE.org
EPSS
GitHub
Exploit-DB