CVE-2025-62792: Wazuh vulnerable to Heap-based Buffer Over-read in w_expression_match
Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.12.0, a buffer over-read occurs in wexpressionmatch() when strlen() is called on strtest, because the corresponding buffer is not being properly NULL terminated during its allocation in OSCleanMSG(). A compromised agent can cause a READ operation beyond the end of the allocated buffer (which may contain sensitive information) 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 cause a buffer over-read and potentially access sensitive data. This vulnerability is fixed in 4.12.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Wazuhto a version that resolves this vulnerability.Fixed in 4.12.0
Event History
Frequently Asked Questions
What is the severity of CVE-2025-62792?
CVE-2025-62792 has been classified with a severity level that indicates a significant risk due to a buffer over-read vulnerability.
How do I fix CVE-2025-62792?
To fix CVE-2025-62792, update your Wazuh installation to version 4.12.0 or later.
What components are affected by CVE-2025-62792?
CVE-2025-62792 affects Wazuh versions prior to 4.12.0.
What are the potential impacts of CVE-2025-62792?
CVE-2025-62792 may lead to potential data leakage or exploitation due to improper buffer handling.
Is CVE-2025-62792 an open source vulnerability?
Yes, CVE-2025-62792 affects an open source platform, Wazuh.