What’s Vulnerable › Vulnerabilities
CVE-2025-62786: Wazuh Vulnerable to Heap-based Buffer Out-Of-Bounds WRITE in decode_win_permissions
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-10-29 · updated 2026-10-19
- Weakness: CWE-124
Description
Wazuh is a free and open source platform used for threat prevention, detection, and response. A heap-based out-of-bounds WRITE occurs in decode_win_permissions, resulting in writing a NULL byte 2 bytes before the start of the buffer allocated to decoded_it. A compromised agent can potentially leverage this issue to perform remote code execution, by sending a specially crafted message to the wazuh manager. An attacker who is able to craft and send an agent message to the wazuh manager can leverage this issue to potentially achieve remote code execution on the wazuh manager (the exploitability of this vulnerability depends on the specifics of the respective heap allocator). This vulnerability is fixed in 4.10.2.
Affected products
- wazuh: before 4.10.2 — fixed in 4.10.2
How to fix
Upgrade to a fixed version: wazuh 4.10.2. Check the vendor advisory for mitigations.
References
- https://github.com/wazuh/wazuh/commit/2257d7998aaff34263169d16f4afc491564a771c
- https://github.com/wazuh/wazuh/security/advisories/GHSA-2c8r-p6r5-xxmr
Get alerted when CVE-2025-62786 or the next vulnerability affects your stack