{"id":"CVE-2025-62792","summary":"Wazuh vulnerable to Heap-based Buffer Over-read in w_expression_match","details":"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.","aliases":["GHSA-2672-vfhm-xhr6"],"modified":"2026-08-12T03:51:17.602683310Z","published":"2025-10-29T16:50:05.994Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62792.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-126","CWE-170"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62792.json"},{"type":"ADVISORY","url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-2672-vfhm-xhr6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62792"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wazuh/wazuh","events":[{"introduced":"0"},{"fixed":"802b10f727c59e4d0aa502279ea53c2c776328b6"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"4.12.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*"}}],"versions":["v3.13.1","v3.13.0","v3.12.0","v3.8.0","v3.7.0","v3.6.1","v3.6.0","v3.5.0","v3.2.0","v3.1.0","v2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62792.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}