Skip to content

CVE-2025-62792 Wazuh vulnerable to Heap-based Buffer Over-read in w_expression_match

MediumCVSS 6.9 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
wazuh < 4.12.0; = < 4.12.0 4.12.0 Fixed

Affected products

ProductAffected versionsFixed in
wazuh = < 4.12.0 No fix listed
wazuh < 4.12.0 4.12.0

References