CVE-2025-62788
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-29

Last updated on: 2025-11-03

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-29
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-10-29
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wazuh wazuh to 4.11.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in Wazuh versions prior to 4.11.0 where the function w_copy_event_for_log() references memory that has already been freed. Specifically, memory initially allocated in OS_CleanMSG() is accessed after being freed, which can lead to corruption of valid data. A compromised agent can exploit this by sending a specially crafted message to the Wazuh manager, potentially compromising the integrity of the application.


How can this vulnerability impact me? :

If exploited, this vulnerability can compromise the integrity of the Wazuh application by corrupting valid data through use of freed memory. An attacker who can send crafted messages to the Wazuh manager may leverage this to disrupt or manipulate the application's behavior, potentially leading to security breaches or unreliable threat detection and response.


What immediate steps should I take to mitigate this vulnerability?

Upgrade Wazuh to version 4.11.0 or later, as this vulnerability is fixed in that version.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart