What’s Vulnerable › Vulnerabilities
CVE-2025-62792: Wazuh vulnerable to Heap-based Buffer Over-read in w_expression_match
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-10-29 · updated 2026-10-19
- Weakness: CWE-126
Description
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 w_expression_match() when strlen() is called on str_test, because the corresponding buffer is not being properly NULL terminated during its allocation in OS_CleanMSG(). 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 products
- wazuh: before 4.12.0 — fixed in 4.12.0
How to fix
Upgrade to a fixed version: wazuh 4.12.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-62792 or the next vulnerability affects your stack