CVE-2025-62788

HIGH

Wazuh < 4.11.0 - Use-After-Free in w_copy_event_for_log()

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/wazuh/wazuh/security/advisories/GHSA-qjcw-fjvh-8q4g

Scores

CVSS v3 7.5
EPSS 0.0027
EPSS Percentile 18.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (1)
wazuh/wazuh < 4.11.0
Published Oct 29, 2025
Tracked Since Feb 18, 2026