CVE-2025-62788 in Wazuh
Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.11.0, w_copy_event_for_log() references memory (initially allocated in OS_CleanMSG()) after it has been freed. A compromised agent can potentially compromise the integrity of the application by sending a speciall...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wazuh | Wazuh | < 4.11.0 |
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. Prior to 4.11.0, w_copy_event_for_log() references memory (initially allocated in OS_CleanMSG()) after it has been freed. A compromised agent can potentially compromise the integrity of the application 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 compromise the integrity of the application (the use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere). This vulnerability is fixed in 4.11.0.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-62788 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-034361-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2025-10-29 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A vulnerability in Wazuh prior to version 4.11.0 allows a compromised agent to send a specially crafted message to the Wazuh manager, potentially compromising the integrity of the application due to a use-after-free error in the w_copy_event_for_log() function.
The attack vector involves a compromised Wazuh agent sending a specially crafted message to the Wazuh manager. This message can exploit a use-after-free condition in the w_copy_event_for_log() function, which references memory that has already been freed, leading to potential code execution or other malicious actions.
Questions
What is CVE-2025-62788?
A vulnerability in Wazuh prior to version 4.11.0 allows a compromised agent to send a specially crafted message to the Wazuh manager, potentially compromising the integrity of the application due to a use-after-free error in the w_copy_event_for_log() function.
What is the CVSS score for CVE-2025-62788?
CVE-2025-62788 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.5%.
Is CVE-2025-62788 actively exploited?
No confirmed active exploitation of CVE-2025-62788 as of 2026-10-25.
How do I remediate CVE-2025-62788?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-62788?
CVE-2025-62788 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.