6.3medium
Wazuh Vulnerable to Heap Use After Free in w_copy_event_for_log
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wazuh wazuh | < 4.11.0, before 4.11.0 | CVE List, NVD |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Antes de la versión 4.11.0, w_copy_event_for_log() hace referencia a memoria (inicialmente asignada en OS_CleanMSG()) después de que esta ha sido liberada. Un agente comprometido puede potencialmente comprometer la integridad de la aplicación enviando un mensaje especialmente diseñado al gestor de Wazuh. Un atacante que es capaz de diseñar y enviar un mensaje de agente al gestor de Wazuh puede aprovechar este problema para potencialmente comprometer la integridad de la aplicación (el uso de memoria previamente liberada puede corromper datos válidos, si el área de memoria en cuestión ha sido asignada y utilizada correctamente en otro lugar). Esta vulnerabilidad está corregida en la versión 4.11.0.
References
| https://github.com/wazuh/wazuh/security/advisories/GHSA-qjcw-fjvh-8q4g | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-62788 changed 2025-10-29 | CVE Terms of Use |
| NVD | CVE-2025-62788 changed 2026-10-19 | Public domain |