CVE-2025-62786CWE-124

CVE-2025-62786

High · published October 29, 2025

CVSS v3.1
8.1
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
What it is

⚠️ A seemingly innocent message can turn into a remote code execution nightmare! Wazuh has a heap-based out-of-bounds WRITE vulnerability that could allow an attacker to mess with your system. 🔥 Think of it like a delivery driver who accidentally opens their cargo doors while driving, spilling sensitive packages everywhere — that’s what could happen if an attacker sends a malicious message to the Wazuh manager, exposing your system to chaos. An attacker with the ability to craft and send a message to the Wazuh manager could exploit this vulnerability to run arbitrary code, effectively taking control of your system. While the vulnerability isn’t currently exploited in the wild, the risk of a compromised agent could lead to devastating consequences.

Put simply

Think of it like a delivery driver who accidentally opens their cargo doors while driving, spilling sensitive packages everywhere — that’s what could happen if an attacker sends a malicious message to the Wazuh manager, exposing your system to chaos. This CVE involves a heap-based out-of-bounds write in the decode_win_permissions function, where a NULL byte is written two bytes before the allocated buffer. This flaw allows an attacker to potentially execute arbitrary code remotely if they can send a specially crafted message to the Wazuh manager.

What to do

An attacker with the ability to craft and send a message to the Wazuh manager could exploit this vulnerability to run arbitrary code, effectively taking control of your system. While the vulnerability isn’t currently exploited in the wild, the risk of a compromised agent could lead to devastating consequences. To protect yourself, upgrade to Wazuh version 4.10.2 immediately. Ensure that your system is not vulnerable by reviewing your current version and apply necessary patches. Regularly audit your configuration to prevent malicious messages from reaching the Wazuh manager. You've got this! By taking these steps, you’ll bolster your defenses and keep your system safe! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00726 · 53.6th percentile
Weakness
CWE-124 · Buffer Underwrite ('Buffer Underflow')
Published
2025-10-29T20:15Z
Affected products (1)
ProductVersionsFixed in
wazuh/wazuh< 4.10.24.10.2
References (2)
EPSS history
Timeline
  • 29 OCT 15:52Z
    Wazuh Vulnerable to Heap-based Buffer Out-Of-Bounds WRITE in decode_win_permissions
    cvelistv5