CVE-2025-62792 in Wazuh
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 compro...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wazuh | Wazuh | < 4.12.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-62792 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-026744-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2025-10-29 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-126: CWE-126
CWE-170: CWE-170
Analysis AI-written, not human-reviewed
A buffer over-read vulnerability exists in Wazuh versions prior to 4.12.0, affecting the w_expression_match() function. This can lead to unauthorized memory access, potentially allowing a compromised agent to read data beyond the allocated buffer.
The vulnerability arises from the improper NULL termination of a buffer during its allocation in OS_CleanMSG(). When strlen() is called on str_test, it can read beyond the buffer's allocated memory if the buffer is not properly terminated, leading to a buffer over-read.
Questions
What is CVE-2025-62792?
A buffer over-read vulnerability exists in Wazuh versions prior to 4.12.0, affecting the w_expression_match() function. This can lead to unauthorized memory access, potentially allowing a compromised agent to read data beyond the allocated buffer.
What is the CVSS score for CVE-2025-62792?
CVE-2025-62792 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.6%.
Is CVE-2025-62792 actively exploited?
No confirmed active exploitation of CVE-2025-62792 as of 2026-10-25.
How do I remediate CVE-2025-62792?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-62792?
CVE-2025-62792 affects Wazuh Wazuh.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wazuh","product":"Wazuh","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.