{"id":"CVE-2025-62787","summary":"Wazuh Vulnerable to Heap-based Buffer Over-read in DecodeWinevt","details":"Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.10.2, a buffer over-read occurs in DecodeWinevt() when child_attr[p]-\u003eattributes[j] is accessed, because the corresponding index (j) is incorrect. 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. While the buffer over-read is always triggered while resolving the arguments of mdebug2, specific configuration options (analysisd.debug=2) need to be in place for the respective data to be leaked. This vulnerability is fixed in 4.10.2.","aliases":["GHSA-3hhq-5367-98q6"],"modified":"2026-08-12T15:14:28.651322Z","published":"2025-10-29T16:30:26.950Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-126"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62787.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62787.json"},{"type":"ADVISORY","url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-3hhq-5367-98q6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62787"},{"type":"FIX","url":"https://github.com/wazuh/wazuh/commit/267d5d55de490469a9ec24a2b936bb3c5aa8fdda"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wazuh/wazuh","events":[{"introduced":"0"},{"fixed":"6457e4af487b95e35155817110f352f2e30744de"},{"fixed":"267d5d55de490469a9ec24a2b936bb3c5aa8fdda"}],"database_specific":{"cpe":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.10.2"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v4.10.1","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":{"vanir_signatures":[{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["295671279710798297216949797356203520820","182563635299212653900405823587373706054","74139753733910230675097986086013687320","116517282923970475737569754509933345094","131961060806476802652272564911909237914","304780822475478596185709763620685073725","297420604563576462139647381955519665086","266180808569292620500697620771670221815","166241214843493306959022298447709629114","330900176337990218710239125798228169840","194408125068337987390970293584190296938"]},"id":"CVE-2025-62787-5f3efba4","signature_type":"Line","signature_version":"v1","source":"https://github.com/wazuh/wazuh/commit/267d5d55de490469a9ec24a2b936bb3c5aa8fdda","target":{"file":"src/analysisd/decoders/winevtchannel.c"}},{"id":"CVE-2025-62787-a44516b2","signature_type":"Function","signature_version":"v1","source":"https://github.com/wazuh/wazuh/commit/267d5d55de490469a9ec24a2b936bb3c5aa8fdda","target":{"file":"src/analysisd/decoders/winevtchannel.c","function":"DecodeWinevt"},"deprecated":false,"digest":{"function_hash":"135074992941727985690269859277974197193","length":14429}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62787.json","vanir_signatures_modified":"2026-08-12T15:14:28Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N"}]}