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]->attributes[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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62787.json",
"cwe_ids": [
"CWE-126"
]
}{
"cpe": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "4.10.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-21T23:56:44Z"
[
{
"target": {
"file": "src/analysisd/decoders/winevtchannel.c"
},
"id": "CVE-2025-62787-5f3efba4",
"digest": {
"line_hashes": [
"295671279710798297216949797356203520820",
"182563635299212653900405823587373706054",
"74139753733910230675097986086013687320",
"116517282923970475737569754509933345094",
"131961060806476802652272564911909237914",
"304780822475478596185709763620685073725",
"297420604563576462139647381955519665086",
"266180808569292620500697620771670221815",
"166241214843493306959022298447709629114",
"330900176337990218710239125798228169840",
"194408125068337987390970293584190296938"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/wazuh/wazuh/commit/267d5d55de490469a9ec24a2b936bb3c5aa8fdda"
},
{
"target": {
"function": "DecodeWinevt",
"file": "src/analysisd/decoders/winevtchannel.c"
},
"id": "CVE-2025-62787-a44516b2",
"digest": {
"function_hash": "135074992941727985690269859277974197193",
"length": 14429.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/wazuh/wazuh/commit/267d5d55de490469a9ec24a2b936bb3c5aa8fdda"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62787.json"