CVE-2025-62787

Source
https://cve.org/CVERecord?id=CVE-2025-62787
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62787.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-62787
Aliases
  • GHSA-3hhq-5367-98q6
Published
2025-10-29T16:30:26.950Z
Modified
2026-07-21T23:56:44.047498Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
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]->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.

Database specific
{
    "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"
    ]
}
References

Affected packages

Git / github.com/wazuh/wazuh

Affected ranges

Type
GIT
Repo
https://github.com/wazuh/wazuh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.10.2"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v2.*
v2.0
v3.*
v3.1.0
v3.12.0
v3.13.0
v3.13.1
v3.2.0
v3.5.0
v3.6.0
v3.6.1
v3.7.0
v3.8.0
v4.*
v4.10.1

Database specific

vanir_signatures_modified
"2026-07-21T23:56:44Z"
vanir_signatures
[
    {
        "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"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-62787.json"