Skip to main content

Wazuh CVE-2026-44254

| EUVDEUVD-2026-62554 MEDIUM
Incorrect Calculation of Buffer Size (CWE-131)
2026-08-19 security-advisories@github.com
5.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid Wazuh agent keys or compromise enrolled endpoint
  2. Delivery
    Connect to Wazuh manager TCP port 1514
  3. Exploit
    Send encrypted message with payload crafted to decompress to 65535 bytes
  4. Execution
    os_zlib_uncompress() writes null byte past stack buffer boundary
  5. Persist
    Stack corruption crashes root-level remoted daemon
  6. Impact
    Agent telemetry severed across deployment

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
Exploitation Conditions

Exploitation requires the attacker to possess valid Wazuh agent credentials (agent key material) or to have compromised a host that is already enrolled as a Wazuh agent - this is the PR:L prerequisite confirmed by the CVSS vector. The crafted compressed payload must decompress to exactly OS_MAXSTR (65,535) bytes to write the null terminator precisely at the stack boundary; decompressed sizes below this threshold are safe, and sizes above it (now blocked by the length guard in the patched version) do not trigger the same boundary condition. The attack path is the standard TCP agent communication channel on port 1514, which is a default and required component of any Wazuh deployment with enrolled agents - no non-default configuration is required on the manager side. Exploitation is limited by: (1) the authentication prerequisite (agent key possession, not arbitrary network access), (2) the precision constraint on decompressed payload size (AC:H), and (3) the impact ceiling of daemon crash and restart rather than code execution, as the write is a single null byte at a stack position rather than an arbitrary overwrite primitive.

Impact

The CVSS 5.3 (Medium) score accurately reflects a network-reachable but access-controlled, precision-constrained denial-of-service. The PR:L metric confirms that exploitation requires agent-level authentication - an attacker must possess valid Wazuh agent keys or have compromised a legitimately enrolled endpoint before any exploitation attempt. The AC:H metric reflects the engineering constraint that the compressed payload must decompress to exactly 65,535 bytes to land the null byte at the exact boundary; this is non-trivial to craft reliably. The A:H impact is genuine: crashing the root-level remoted daemon halts all agent message processing across the entire Wazuh deployment, which is operationally severe for any security team relying on continuous telemetry. Even a mid-sized security operations center in bytom running Wazuh as its primary SIEM-XDR platform would experience a significant monitoring gap during daemon recovery time. No EPSS score was provided in the supplied intelligence, limiting probabilistic exploitation forecasting. The vulnerability is not in the CISA KEV catalog and no public proof-of-concept has been identified, placing overall exploitation urgency at lower-than-critical priority, though organizations with enrolled agents on untrusted or semi-trusted endpoints should treat patching as time-sensitive given the potential for insider or post-compromise lateral disruption.

Exploit ScenarioDerived

An attacker who has compromised a Wazuh-enrolled endpoint (or obtained agent authentication keys through credential theft) connects to the Wazuh manager on TCP port 1514 and sends an encrypted agent message whose compressed body is crafted to decompress to exactly 65,535 bytes. The os_zlib_uncompress() call in ReadSecMSG() writes the null terminator one byte past the stack buffer boundary in the root-level remoted daemon, corrupting the stack and crashing message processing - severing agent telemetry across the entire Wazuh deployment until the daemon is restarted. No public proof-of-concept exploit code has been identified at time of analysis, but the triggering condition is mechanically straightforward for an attacker with agent access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 19, 2026

Stack out-of-bounds write in Wazuh's root-level remoted daemon allows an authenticated agent to crash manager message processing by sending a specially crafted compressed payload over TCP port 1514. Versions 1.0.0 through 4.14.5 (stable) and 5.0.0-beta1 are affected; the decompression function writes a null terminator one byte beyond the stack buffer boundary when the message expands to exactly OS_MAXSTR bytes, corrupting the daemon stack and disrupting all agent communications. No public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog; fixed versions 4.14.6 and 5.0.0-beta2 are available.

RemediationAI

The primary remediation is to upgrade Wazuh to version 4.14.6 (stable) or 5.0.0-beta2 (beta), both available at the official GitHub releases page (https://github.com/wazuh/wazuh/releases/tag/v4.14.6 and https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2). The upstream fix in commit 96772487fbdecd43cc83e284ee7aeb45e3cfcd96 (PR #35773) eliminates the off-by-one by introducing a correctly sized thread-local decompression buffer and adding an explicit length guard that rejects oversized messages before decompression. If immediate patching is not feasible, operators should restrict inbound access to TCP port 1514 on the Wazuh manager via firewall or host-based rules to only the specific IP addresses of enrolled agents - this reduces the attack surface to enrolled agents already trusted by the deployment but does not protect against a compromised enrolled endpoint. Disabling zlib-compressed agent messaging is not a viable workaround without breaking all agent communications. Note that the firewall mitigation adds network rule management overhead and may interfere with dynamic agent enrollment workflows.

Affected VersionsENISA

wazuh 1.0.0, < 4.14.6
wazuh 5.0.0-beta1, < 5.0.0-beta2

Affected Packages

euvd wazuh_1_0_0 fix: 4.14.6
euvd wazuh_5_0_0_beta1 fix: 5.0.0-beta2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in Wazuh's remoted daemon, which handles encrypted agent-to-manager communications over TCP port 1514. The root cause (CWE-131: Incorrect Calculation of Buffer Size) is that HandleSecureMessage() in src/remoted/secure.c passed a pointer into a stack-allocated cleartext buffer as the destination operand to os_zlib_uncompress() inside ReadSecMSG() in src/os_crypto/shared/msgs.c. The decompression function writes up to OS_MAXSTR bytes at that pointer offset without reserving space for the null terminator that zlib appends. When a crafted compressed message expands to exactly OS_MAXSTR (65,535) bytes, the null terminator is written one byte past the stack buffer boundary, corrupting the stack frame of the root-privileged remoted daemon. The fix introduced a thread-local static buffer declared as decompress_buffer[OS_MAXSTR + 1] sized to accommodate the terminator, redirected os_zlib_uncompress() to write into that dedicated buffer rather than the stack-aliased pointer, and added an upfront length guard in HandleSecureMessage() that closes the connection socket and returns early when msg_length exceeds OS_MAXSTR, as confirmed by commit 96772487fbdecd43cc83e284ee7aeb45e3cfcd96 and PR #35773.

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 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-reachable via TCP 1514 (AV:N), requires agent credentials (PR:L), payload must decompress to exact boundary size (AC:H), crashes daemon (A:H) with no confidentiality or integrity impact.

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

CVSS VectorVendor: github

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

Lifecycle Timeline

1
Patch available
Aug 19, 2026 - 17:02 EUVD

DescriptionCVE.org

Wazuh is a free and open source platform used for threat prevention, detection, and response. From 1.0.0 until 4.14.6 and 5.0.0-beta2, HandleSecureMessage() in src/remoted/secure.c passes a pointer inside its stack buffer to ReadSecMSG(), and src/os_crypto/shared/msgs.c decompresses up to OS_MAXSTR bytes at that offset. For an encrypted agent message on TCP port 1514 that expands to 65,536 bytes, os_zlib_uncompress() writes a terminating null byte beyond the end of the destination buffer. The resulting stack out-of-bounds write in the root-level remoted daemon can crash message processing and disrupt agent communications. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular open-source SIEM/XDR platform with broad enterprise security team adoption
Data Quality
6 sources
Confidence: High

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.4%
Patch available Yes
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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.

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