Skip to main content

Wazuh Manager CVE-2025-62792

MEDIUM
Buffer Over-read (CWE-126)
2025-10-29 security-advisories@github.com
6.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Compromise or control an enrolled agent
  2. Delivery
    Craft malformed agent message
  3. Exploit
    Send to Wazuh manager
  4. Execution
    Trigger non-terminated buffer in OS_CleanMSG()
  5. Persist
    Over-read heap memory via strlen()/w_expression_match()
  6. Impact
    Disclose adjacent sensitive data or crash manager

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
Exploitation Conditions

Exploitation requires the attacker to be able to craft and send an agent message to the Wazuh manager - in practice, control over a compromised or malicious enrolled agent, since agents authenticate to the manager via enrollment keys. The affected code path is message sanitization in OS_CleanMSG() feeding w_expression_match(), so the manager must be running an affected version prior to 4.12.0 and must accept agent traffic from the attacker-controlled endpoint. Limiting factors: the agent-authentication/enrollment requirement constrains this from being a pure anonymous internet attack, the impact is primarily a bounded heap over-read (potential sensitive-data leak or process disruption) rather than code execution, and managers not exposed to untrusted agents are far less exposed. Upgrading to 4.12.0 removes the condition entirely.

Impact

This is a medium-severity information-disclosure flaw (CWE-126 buffer over-read), and the real-world risk is bounded rather than critical. The official CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N, VC:N/VI:N/VA:L, score 6.9) describes network-reachable, low-complexity, no-interaction exploitation, and publicly available exploit code exists - raising the practical likelihood of exploitation. However, there are notable tensions among the signals. First, the vector marks PR:N (unauthenticated), yet the description repeatedly frames the attacker as 'a compromised agent' able to 'craft and send an agent message to the wazuh manager' - Wazuh agents normally authenticate via enrollment keys, so realistic exploitation presupposes attacker control over an already-enrolled/compromised agent rather than pure anonymous network access; verify the trust boundary with the vendor. Second, the vector sets VC:N (no confidentiality impact) and VA:L (low availability impact), which conflicts with the narrative that the over-read 'may contain sensitive information' and 'potentially access sensitive data' - the text implies a confidentiality impact that the scored vector does not reflect. No EPSS score and no KEV listing were provided, so there is no evidence of active or widespread exploitation; absence of EPSS is a data gap, not a signal of safety. Net: a genuine, patchable bug worth prioritizing on internet-exposed or multi-tenant Wazuh managers, but not an emergency-grade unauthenticated RCE.

Exploit ScenarioDerived

An attacker who controls or has compromised an enrolled Wazuh agent sends a specially crafted message to the Wazuh manager; during message cleanup in OS_CleanMSG() the str_test buffer is not NULL-terminated, so the subsequent strlen()/w_expression_match() reads past the allocated buffer and may return adjacent heap memory that can contain sensitive data, or crash the manager process. Public exploit code exists, lowering the barrier to reproduction, though exploitation realistically requires the ability to deliver an authenticated agent message to the manager.

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

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Buffer over-read in the Wazuh manager before 4.12.0 allows an attacker who controls an enrolled agent to send a crafted message that causes strlen() to read past the end of a non-NULL-terminated buffer in OS_CleanMSG()/w_expression_match(), potentially leaking sensitive manager memory or disrupting the process. The flaw is a CWE-126 over-read rated medium severity by the independent assessment, and exploitation requires the ability to submit agent traffic to the manager, typically through a compromised or malicious enrolled agent. Publicly available exploit code exists, but no confirmed active exploitation (CISA KEV) is indicated.

RemediationAI

Upgrade the Wazuh manager to 4.12.0, which is the vendor-released patch for this issue; consult the advisory at https://github.com/wazuh/wazuh/security/advisories/GHSA-2672-vfhm-xhr6 for upgrade guidance. If immediate upgrade is not possible, restrict the manager's agent communication port (default 1514/TCP) to known agent IP ranges and enforce network segmentation so only trusted enrolled agents can reach it, accepting reduced coverage for roaming agents; revoke and re-enroll keys for any suspected compromised agent, and monitor manager logs for malformed agent messages, with the trade-off of operational overhead and potential false positives. Blocking agent traffic or disabling enrollment eliminates the attack path but stops monitoring.

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

Wazuh is an open-source security platform whose manager receives and processes messages from enrolled agents. In affected releases prior to 4.12.0, OS_CleanMSG() allocates a buffer for agent-supplied data without properly NULL-terminating it; later, w_expression_match() calls strlen() on that buffer, causing a read beyond the allocated heap region. This is a classic CWE-126 buffer over-read that can expose adjacent memory contents (confidentiality impact) and may cause process disruption (limited availability impact). The supplied CPE cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:* identifies the Wazuh product family without an explicit version bound, while the CVE and vendor advisory specify 4.12.0 as the fix. The independent assessment applies CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L because the attacker must control an enrolled agent; although the supplied CVSS 4.0 vector shows PR:N, the authoritative prerequisites require agent enrollment/authentication, and the impact is bounded to information disclosure and possible process disruption rather than code execution.

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) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Requires ability to send an authenticated agent message (compromised/enrolled agent), so PR:L not PR:N; low-complexity remote over-read yields limited confidentiality leak (C:L) and possible manager crash (A:L).

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.12.0, a buffer over-read occurs in w_expression_match() when strlen() is called on str_test, because the corresponding buffer is not being properly NULL terminated during its allocation in OS_CleanMSG(). A compromised agent can cause a READ operation beyond the end of the allocated buffer (which may contain sensitive information) by sending a specially crafted message to the wazuh manager. An attacker who is able to craft and send an agent message to the wazuh manager can cause a buffer over-read and potentially access sensitive data. This vulnerability is fixed in 4.12.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
popular open-source XDR/SIEM, common in security teams but not everywhere
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

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 Yes
EPSS 0.4%
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
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

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