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.
Published: 2026-08-19
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 not available, 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.

Generated by OpenCVE AI on August 20, 2026 at 01:23 UTC.

Remediation

No vendor fix or workaround currently provided.

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 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 19 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Wazuh
Wazuh wazuh
Vendors & Products Wazuh
Wazuh wazuh

Wed, 19 Aug 2026 16:15:00 +0000

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T18:18:27.247Z

Reserved: 2026-05-05T16:33:55.844Z

Link: CVE-2026-44254

cve-icon Vulnrichment

Updated: 2026-08-19T18:03:37.729Z

cve-icon NVD

Status : Received

Published: 2026-08-19T16:17:10.967

Modified: 2026-08-19T19:17:16.607

Link: CVE-2026-44254

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T01:30:03Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-787

    Out-of-bounds Write