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