CVE-2025-62792

HIGH

Wazuh < 4.12.0 - Buffer Over-Read via Improper NULL Termination in OS_CleanMSG()

Title source: llm
STIX 2.1

Description

Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.12.0, a buffer over-read occurs in w_expression_match() when strlen() is called on str_test, because the corresponding buffer is not being properly NULL terminated during its allocation in OS_CleanMSG(). 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. This vulnerability is fixed in 4.12.0.

References (1)

Core 1
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/wazuh/wazuh/security/advisories/GHSA-2672-vfhm-xhr6

Scores

CVSS v3 7.5
EPSS 0.0031
EPSS Percentile 22.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-170 CWE-126
Status published
Products (1)
wazuh/wazuh < 4.12.0
Published Oct 29, 2025
Tracked Since Feb 18, 2026