CVE-2025-62786 in Wazuh
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wazuh | Wazuh | < 4.10.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-62786 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-026735-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-10-29 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-124: CWE-124
Analysis AI-written, not human-reviewed
A heap-based out-of-bounds WRITE vulnerability in the decode_win_permissions function of Wazuh could allow a compromised agent to perform remote code execution by sending a specially crafted message.
The vulnerability occurs when a compromised agent sends a specially crafted message to the Wazuh manager, leading to a heap-based out-of-bounds WRITE. This can result in a NULL byte being written 2 bytes before the start of the buffer allocated to decoded_it, potentially leading to remote code execution.
Questions
What is CVE-2025-62786?
A heap-based out-of-bounds WRITE vulnerability in the decode_win_permissions function of Wazuh could allow a compromised agent to perform remote code execution by sending a specially crafted message.
What is the CVSS score for CVE-2025-62786?
CVE-2025-62786 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.0%.
Is CVE-2025-62786 actively exploited?
No confirmed active exploitation of CVE-2025-62786 as of 2026-10-25.
How do I remediate CVE-2025-62786?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-62786?
CVE-2025-62786 affects Wazuh Wazuh.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wazuh","product":"Wazuh","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.