CVE-2025-62786
JSON

6.3medium

Wazuh Vulnerable to Heap-based Buffer Out-Of-Bounds WRITE in decode_win_permissions

Severity
6.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.73% (higher than 55% 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. A heap-based out-of-bounds WRITE occurs in decode_win_permissions, resulting in writing a NULL byte 2 bytes before the start of the buffer allocated to decoded_it. A compromised agent can potentially leverage this issue to perform remote code execution, 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 leverage this issue to potentially achieve remote code execution on the wazuh manager (the exploitability of this vulnerability depends on the specifics of the respective heap allocator). 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_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-124

SSVC (CISA-ADP): exploitation none, 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. A heap-based out-of-bounds WRITE occurs in decode_win_permissions, resulting in writing a NULL byte 2 bytes before the start of the buffer allocated to decoded_it. A compromised agent can potentially leverage this issue to perform remote code execution, 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 leverage this issue to potentially achieve remote code execution on the wazuh manager (the exploitability of this vulnerability depends on the specifics of the respective heap allocator). 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. Una escritura fuera de límites basada en el heap ocurre en decode_win_permissions, resultando en la escritura de un byte NULL 2 bytes antes del inicio del búfer asignado a decoded_it. Un agente comprometido puede potencialmente aprovechar este problema para realizar ejecución remota de código, enviando 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 aprovechar este problema para potencialmente lograr ejecución remota de código en el gestor de Wazuh (la explotabilidad de esta vulnerabilidad depende de las especificidades del asignador de heap respectivo). Esta vulnerabilidad está corregida en 4.10.2.

References

Sources

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