Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Wazuh | Wazuh | < 4.10.2 |
Related Weaknesses (CWE)
References
- https://github.com/wazuh/wazuh/commit/2257d7998aaff34263169d16f4afc491564a771cPatch
- https://github.com/wazuh/wazuh/security/advisories/GHSA-2c8r-p6r5-xxmrExploitVendor Advisory
FAQ
What is CVE-2025-62786?
CVE-2025-62786 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 byte...
How severe is CVE-2025-62786?
CVE-2025-62786 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-62786?
Check the references section above for vendor advisories and patch information. Affected products include: Wazuh Wazuh.