# CVE-2025-62788: Wazuh Vulnerable to Heap Use After Free in w\_copy\_event\_for\_log

- 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-62788 · JSON: https://cvemate.com/vulnerability/CVE-2025-62788/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.323%, percentile 27.309%, 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.11.0

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-qjcw-fjvh-8q4g>

---

Data as of 2026-12-06T19:42:54.983Z. 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
