CVE-2026-44254

Wazuh: Stack Out-of-Bounds Write in remoted Decompression Path

Published Aug 19, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability occurs when the remoted daemon processes an encrypted agent message on TCP port 1514, causing the decompress function to write a null byte beyond the end of the destination buffer and corrupting the stack. This stack overflow can crash the daemon, leading to loss of service for any connected agents and disrupting threat prevention and detection functions. The flaw is a classic buffer over‑size problem (CWE‑131/787) and does not provide direct code execution, but it can be used to deny service to any monitored host.

Affected Systems

Wazuh’s remoted component is affected in all releases from the initial 1.0.0 up to, but not including, version 4.14.6 and version 5.0.0‑beta2. The fix is applied in releases 4.14.6 and later, as well as 5.0.0‑beta2 and later. Administrators using older agent versions or earlier distributions must verify the daemon version and apply updates accordingly.

Risk and Exploitability

With a CVSS score of 5.3 the risk is moderate. The EPSS score is < 1%, indicating a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. An attacker who can reach the agent’s listening port 1514 can craft a malicious encrypted payload that triggers the out‑of‑bounds write, causing the daemon to crash. The exploit requires network access and knowledge of the encryption protocol, implying a remote attack vector but not privileged system access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Wazuh remoted daemon to version 4.14.6 or later, or to version 5.0.0‑beta2 or later; the patch prevents the buffer overflow.
  • Restrict inbound traffic on TCP port 1514 to trusted hosts or networks, reducing the likelihood that a malicious payload reaches the vulnerable daemon.
  • If an immediate upgrade is not possible, limit concurrent connections and monitor the remoted process for abnormal termination, implementing graceful restarting where feasible.

Generated by OpenCVE AI on August 20, 2026 at 14:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wazuh
Wazuh wazuh
Vendors & Products Wazuh
Wazuh wazuh
Type Values Removed Values Added
Description 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.
Title Wazuh: Stack Out-of-Bounds Write in remoted Decompression Path
Weaknesses CWE-131
CWE-787
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 19, 2026, 6:18 PM
Reserved
May 5, 2026, 4:33 PM
Status
Analyzed
Published
Aug 19, 2026, 4:17 PM
Modified
Oct 27, 2026, 11:10 AM