# CVE-2025-62786: Wazuh Vulnerable to Heap-based Buffer Out-Of-Bounds WRITE in decode\_win\_permissions

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-29 · Modified: 2025-10-29
- Record: https://cvemate.com/vulnerability/CVE-2025-62786 · JSON: https://cvemate.com/vulnerability/CVE-2025-62786/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.726%, percentile 55.528%, as of 2026-12-06
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- wazuh wazuh: \< 4.10.2

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-2c8r-p6r5-xxmr>
- <https://github.com/wazuh/wazuh/commit/2257d7998aaff34263169d16f4afc491564a771c>

---

Data as of 2026-12-06T19:42:54.280Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
