CVE-2025-62792CWE-126CWE-170

CVE-2025-62792

High · published October 29, 2025

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

⚠️ A crafty agent message can reveal sensitive data! Before version 4.12.0, Wazuh’s buffer over-read issue lets attackers peek beyond the curtain and access private information. 🔍 Think of it like a restaurant where the chef accidentally leaves a back door open — a curious diner could overhear secret recipes by eavesdropping! In this case, it’s the unguarded buffer that spills the beans. An attacker who can craft and send a message could trigger a buffer over-read, potentially exposing sensitive information stored within the Wazuh manager. While not a guaranteed breach, this could lead to a hefty risk if attackers gain access to critical data.

Put simply

Think of it like a restaurant where the chef accidentally leaves a back door open — a curious diner could overhear secret recipes by eavesdropping! In this case, it’s the unguarded buffer that spills the beans. This vulnerability arises from a buffer over-read in the `w_expression_match()` function when `strlen()` is called on `str_test` without proper NULL termination during allocation in `OS_CleanMSG()`. As a result, malicious agents may exploit this flaw to read beyond allocated memory boundaries.

What to do

An attacker who can craft and send a message could trigger a buffer over-read, potentially exposing sensitive information stored within the Wazuh manager. While not a guaranteed breach, this could lead to a hefty risk if attackers gain access to critical data. Update to Wazuh version 4.12.0 or later to patch this vulnerability. Additionally, review the configurations and ensure all agent messages are sent securely to mitigate potential risks. Regularly audit your Wazuh setup for any misconfigurations or vulnerabilities. You've got this! Fixing this vulnerability is straightforward, and soon you'll have your Wazuh instance back to top-notch security! 🛡️

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:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00384 · 31.3th percentile
Weaknesses
CWE-126 · Buffer Over-read; CWE-170 · Improper Null Termination
Published
2025-10-29T21:15Z
Affected products (1)
ProductVersionsFixed in
wazuh/wazuh< 4.12.04.12.0
References (1)
EPSS history
Timeline
  • 29 OCT 16:50Z
    Wazuh vulnerable to Heap-based Buffer Over-read in w_expression_match
    cvelistv5