CVE-2025-62788CWE-416

CVE-2025-62788

High · published October 29, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
24.1
In the wild
Unconfirmed
What it is

⚠️ A crafty message is all it takes! Before version 4.11.0, Wazuh's memory management has a rather sneaky flaw that could let compromised agents send destructive messages to the manager. 🔥 Think of it like a restaurant where a bad chef can mess up the order of ingredients — once the soup pot has been dumped, any leftovers could spoil the entire meal. An attacker sending a poorly crafted message could corrupt vital data, just like an old ingredient spoiling your dish! If exploited, this vulnerability could compromise the integrity of the Wazuh application, potentially leading to corrupted data and a breakdown of threat detection. While it’s not currently being actively exploited, the risk of having a compromised system is still a serious concern!

Put simply

Think of it like a restaurant where a bad chef can mess up the order of ingredients — once the soup pot has been dumped, any leftovers could spoil the entire meal. An attacker sending a poorly crafted message could corrupt vital data, just like an old ingredient spoiling your dish! CVE-2025-62788 occurs because the function w_copy_event_for_log() accesses memory that has already been freed, which can corrupt valid data if that memory is reallocated for another purpose. An attacker with the ability to send a crafted agent message can potentially leverage this flaw against the Wazuh manager.

What to do

If exploited, this vulnerability could compromise the integrity of the Wazuh application, potentially leading to corrupted data and a breakdown of threat detection. While it’s not currently being actively exploited, the risk of having a compromised system is still a serious concern! Update to Wazuh version 4.11.0 immediately to patch this vulnerability. It's also a good idea to review logs for any suspicious messages that may have been sent to the manager. Always keep your systems up to date for the best protection! You've got this! Follow these steps, and you'll have your Wazuh system secure in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00323 · 24.1th percentile
Weakness
CWE-416 · Use After Free
Published
2025-10-29T21:15Z
Affected products (1)
ProductVersionsFixed in
wazuh/wazuh< 4.11.04.11.0
References (1)
EPSS history
Timeline
  • 29 OCT 16:42Z
    Wazuh Vulnerable to Heap Use After Free in w_copy_event_for_log
    cvelistv5