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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/wazuh/wazuh/commit/96772487fbdecd43cc83e284ee7aeb45e3cfcd96 Patch
- https://github.com/wazuh/wazuh/pull/35773 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/security/advisories/GHSA-9wm4-fp6c-hqgq Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.3 · wazuhNVD modified 2026-10-27 11:10
Affected (CPE criteria) 2
cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*cpe:2.3:a:wazuh:wazuh:5.0.0:beta1:*:*:*:*:*:*
References 5
- https://github.com/wazuh/wazuh/commit/96772487fbdecd43cc83e284ee7aeb45e3cfcd96 Patch
- https://github.com/wazuh/wazuh/pull/35773 Issue Tracking, Patch
- https://github.com/wazuh/wazuh/releases/tag/v4.14.6 Release Notes
- https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2 Release Notes
- https://github.com/wazuh/wazuh/security/advisories/GHSA-9wm4-fp6c-hqgq Exploit, Vendor Advisory