Skip to main content

Wazuh Manager CVE-2026-62365

MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-11-04 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain enrolled agent credential (default: no enrollment password on port 1515)
  2. Delivery
    Send crafted EventChannel JSON/XML via TCP port 1514
  3. Exploit
    Parser accumulates four max-sized unnamed Data elements into join_data
  4. Install
    snprintf writes 81,926 bytes past 65,535-byte heap boundary
  5. C2
    Corrupt adjacent join_data2 chunk header metadata
  6. Execute
    free(join_data2) triggers glibc SIGABRT
  7. Impact
    Entire 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular open-source SIEM/XDR platform, widely deployed in enterprise security operations
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2026-30893 CRITICAL POC
9.9 Apr 29

Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

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

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

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

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2025-30201 CRITICAL POC
9.1 Nov 21

Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy