4.9medium
Wazuh: Cluster Protocol Memory Exhaustion (DoS) via unbounded receive_str allocation and div_msg_box accumulation
- Severity
- 4.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. From 3.9.0 until 4.14.5 and 5.0.0-beta2, the Wazuh cluster protocol in framework/wazuh/core/cluster/common.py allows an authenticated cluster node to exhaust memory on the master. The receive_str() method accepts an attacker-controlled total for InBuffer without a maximum, so a new_str command can request a multi-gigabyte bytearray and repeated requests accumulate in in_str. The divided-message path also retains flag_divided fragments under unique counters in div_msg_box without a count, aggregate-size, or expiration limit. Exploitation can disrupt agent connectivity and alert processing across the monitored environment. This issue is fixed in versions 4.14.5 and 5.0.0-beta2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wazuh wazuh | >= 3.9.0, < 4.14.5, >= 5.0.0-beta1, < 5.0.0-beta2, from 3.9.0 before 4.14.5, 5.0.0 | CVE List, NVD |
Classification
What each source says
CVE List
Wazuh is a free and open source platform used for threat prevention, detection, and response. From 3.9.0 until 4.14.5 and 5.0.0-beta2, the Wazuh cluster protocol in framework/wazuh/core/cluster/common.py allows an authenticated cluster node to exhaust memory on the master. The receive_str() method accepts an attacker-controlled total for InBuffer without a maximum, so a new_str command can request a multi-gigabyte bytearray and repeated requests accumulate in in_str. The divided-message path also retains flag_divided fragments under unique counters in div_msg_box without a count, aggregate-size, or expiration limit. Exploitation can disrupt agent connectivity and alert processing across the monitored environment. This issue is fixed in versions 4.14.5 and 5.0.0-beta2.
NVD (es)
Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Desde la versión 3.9.0 hasta la 4.14.5 y la 5.0.0-beta2, el protocolo de clúster de Wazuh en framework/wazuh/core/cluster/common.py permite que un nodo de clúster autenticado agote la memoria en el maestro. El método receive_str() acepta un total controlado por el atacante para InBuffer sin un máximo, por lo que un comando new_str puede solicitar un bytearray de varios gigabytes y las solicitudes repetidas se acumulan en in_str. La ruta de mensajes divididos también retiene fragmentos flag_divided bajo contadores únicos en div_msg_box sin un límite de conteo, tamaño agregado o expiración. La explotación puede interrumpir la conectividad del agente y el procesamiento de alertas en todo el entorno monitoreado. Este problema está solucionado en las versiones 4.14.5 y 5.0.0-beta2.
References
| https://github.com/wazuh/wazuh/security/advisories/GHSA-h5r8-gvhv-cmp2 | exploit, vendor-advisory | |
| https://github.com/wazuh/wazuh/pull/35173 | issue-tracking, patch | |
| https://github.com/wazuh/wazuh/commit/d29c5c89a0e16477545ca27f4e06229021e3183c | patch | |
| https://github.com/wazuh/wazuh/releases/tag/v4.14.5 | patch, release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44253 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-44253 changed 2026-10-27 | Public domain |