CVE-2025-62788: Wazuh Vulnerable to Heap Use After Free in w_copy_event_for_log

Published Oct 29, 2025
·
Updated

Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.11.0, wcopyeventforlog() references memory (initially allocated in OSCleanMSG()) 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 Software

2 affected components
Wazuh Wazuh<4.11.0
Wazuh Wazuh<4.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Wazuh to a version that resolves this vulnerability.

    Fixed in 4.11.0

Event History

Oct 29, 2025
CVE Published
via MITRE·04:42 PM
Data Sourced
via MITRE·04:42 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Event
via NVD·05:15 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-62788?

CVE-2025-62788 is rated as a medium severity vulnerability.

2

How do I fix CVE-2025-62788?

To fix CVE-2025-62788, update Wazuh to version 4.11.0 or later.

3

What systems are affected by CVE-2025-62788?

CVE-2025-62788 affects Wazuh versions prior to 4.11.0.

4

What are the risks associated with CVE-2025-62788?

CVE-2025-62788 can allow a compromised agent to potentially compromise the integrity of the Wazuh system.

5

Is there an exploit available for CVE-2025-62788?

Currently, there is no publicly known exploit specifically targeting CVE-2025-62788.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203