# CVE-2025-62792: Wazuh vulnerable to Heap-based Buffer Over-read in w_expression_match

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-29T16:50:05.994Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-126, CWE-170
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- wazuh wazuh: < 4.12.0; before 4.12.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-2672-vfhm-xhr6> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-62792](https://www.cve.org/CVERecord?id=CVE-2025-62792), CVE Terms of Use, modified 2025-10-29
- NVD: [CVE-2025-62792](https://nvd.nist.gov/vuln/detail/CVE-2025-62792), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-62792 · Whole record: https://cve.day/CVE-2025-62792.json · Rebuilt by cve.day 2026-11-25T22:59:07.004Z
