CVE-2025-62788: Wazuh Vulnerable to Heap Use After Free in w_copy_event_for_log
CVE-2025-62788 affects 64 listed versions of Wazuh in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Wazuh
64 of 82 listed versions are affected. Fixed in 4.11.0. The newest release, 4.14.11, is not affected.
4.10.5 4.10.4 4.10.3 4.10.2 4.10.1 4.10.0 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.5 4.7.4 4.7.3 4.7.2 4.7.1 4.7.0 4.6.0 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.7 4.2.6 4.2.5 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.4 4.0.3 4.0.2 4.0.1 and 4 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD)
Published by GitHub on 29 October 2025. Last changed 19 October 2026.
Sources
Check one version you run: look CVE-2025-62788 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.