Vulnerability in Wazuh

CVE-2025-62786

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.

EPSS: 0.007 (49.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Wazuh — versions < 4.10.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-62786?
CVE-2025-62786 is a high-severity vulnerability in Wazuh, classified under Buffer Underwrite. CVSS score: 8.1/10. Published 2025-10-29.
How severe is CVE-2025-62786?
High severity. CVSS v3 base score is 8.1 out of 10.