CVE-2025-62786: Wazuh Vulnerable to Heap-based Buffer Out-Of-Bounds WRITE in decode_win_permissions
Wazuh is a free and open source platform used for threat prevention, detection, and response. A heap-based out-of-bounds WRITE occurs in decodewinpermissions, resulting in writing a NULL byte 2 bytes before the start of the buffer allocated to decodedit. 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-62786?
CVE-2025-62786 has a severity rating that indicates a significant risk due to a heap-based out-of-bounds write vulnerability.
How do I fix CVE-2025-62786?
To fix CVE-2025-62786, upgrade Wazuh to version 4.10.3 or later to mitigate the vulnerability.
Who is affected by CVE-2025-62786?
CVE-2025-62786 affects Wazuh versions prior to 4.10.3, making installations of earlier versions vulnerable.
What type of vulnerability is CVE-2025-62786?
CVE-2025-62786 is classified as a heap-based out-of-bounds write vulnerability.
Can CVE-2025-62786 lead to remote code execution?
Yes, CVE-2025-62786 can potentially allow an attacker to execute arbitrary code if the vulnerability is exploited.