CVE-2025-62787
JSON

2.1low

Wazuh Vulnerable to Heap-based Buffer Over-read in DecodeWinevt

Severity
2.1low CVSS:4.0 by GitHub_M
Exploit likelihood
0.57% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
wazuh wazuh< 4.10.2, before 4.10.2CVE List, NVD

All scores

GitHub_M2.1low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-126

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Antes de la versión 4.10.2, se produce una lectura excesiva del búfer (buffer over-read) en DecodeWinevt() cuando se accede a child_attr[p] -> attributes[j], porque el índice correspondiente (j) es incorrecto. Un agente comprometido puede causar una operación de LECTURA más allá del final del búfer asignado (que puede contener información sensible) al enviar un mensaje especialmente diseñado al gestor de Wazuh. Un atacante que sea capaz de diseñar y enviar un mensaje de agente al gestor de Wazuh puede causar una lectura excesiva del búfer y potencialmente acceder a datos sensibles. Aunque la lectura excesiva del búfer siempre se activa al resolver los argumentos de mdebug2, se necesitan opciones de configuración específicas (analysisd.debug=2) para que los datos respectivos se filtren. Esta vulnerabilidad se corrige en la versión 4.10.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-62787 changed 2025-10-29CVE Terms of Use
NVDCVE-2025-62787 changed 2026-10-19Public domain