CVE-2025-62786
CVE-2025-62786 is a high-severity vulnerability in Wazuh with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-124.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- CVSS v4: 6.3
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-36684
- Weakness: CWE-124
- Affected product: Wazuh
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2025-62786?
- CVE-2025-62786 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-62786 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-62786?
- CVE-2025-62786 affects Wazuh. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-62786?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-62786 have an EU (EUVD) identifier?
- Yes. CVE-2025-62786 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-36684.
- When was CVE-2025-62786 published?
- CVE-2025-62786 was published on 2025-10-29 and last updated on 2026-06-17.
References
- https://github.com/wazuh/wazuh/commit/2257d7998aaff34263169d16f4afc491564a771c
- https://github.com/wazuh/wazuh/security/advisories/GHSA-2c8r-p6r5-xxmr
Affected products (1)
- cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
More vulnerabilities in Wazuh
- CVE-2025-24016 — Critical (CVSS 9.9): Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 4.4.0…
- CVE-2024-32038 — Critical (CVSS 9.8): Wazuh is a free and open source platform used for threat prevention, detection, and response. There is a buffer…
- CVE-2021-44079 — Critical (CVSS 9.8): In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl…
- CVE-2026-25770 — Critical (CVSS 9.1): Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 3.9.0…
- CVE-2026-25769 — Critical (CVSS 9.1): Wazuh is a free and open source platform used for threat prevention, detection, and response. Versions 4.0.0 through…
- CVE-2026-30893 — Critical (CVSS 9.0): Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 4.4.0 to…
Other CWE-124 vulnerabilities
- CVE-2026-44631 — Critical (CVSS 9.8): Buffer Underwrite vulnerability in Apache HTTP Server on crafted regular expressions in the configuration. This issue…
- CVE-2023-25610 — Critical (CVSS 9.8): A buffer underwrite ('buffer underflow') vulnerability in the administrative interface of Fortinet FortiOS version…
- CVE-2025-27440 — High (CVSS 8.5): Heap overflow in some Zoom Workplace Apps may allow an authenticated user to conduct an escalation of privilege via…
- CVE-2025-27439 — High (CVSS 8.5): Buffer underflow in some Zoom Workplace Apps may allow an authenticated user to conduct an escalation of privilege via…
- CVE-2026-34253 — High (CVSS 8.2): A buffer underflow vulnerability has been identified in the ogg123 utility from the vorbis-tools 1.4.3 package in…
- CVE-2026-0966 — High (CVSS 8.2): A flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing…