Wazuh NULL Pointer Dereference Vulnerability in Analysis Daemon

Vulnerability

A NULL pointer dereference vulnerability has been identified in Wazuh versions prior to 4.11.0. The issue arises in the 'fim_fetch_attributes_state()' function, where the implementation fails to verify if 'time_string' is NULL before applying 'strlen()'. This flaw can be exploited by a compromised agent that sends a specially crafted message to the Wazuh manager, leading to a crash of the 'analysisd' process and causing unavailability of the service.

Impact

Exploitation of this vulnerability causes the 'analysisd' process to crash, disrupting its availability. The vulnerability can be exploited by sending a crafted message from a compromised Wazuh agent to the manager.

Reproduction

The vulnerability can be reproduced by sending a message from a Wazuh agent that includes a specific payload designed to trigger the NULL pointer dereference. This can be done by enrolling a new agent (if agent enrollment is open) or by compromising an existing agent. Once the crafted message is sent to the Wazuh manager, the 'analysisd' process will crash, demonstrating the vulnerability.

Remediation

Users can upgrade to Wazuh version 4.11.0 or later, where this vulnerability has been fixed.

Added: Oct 29, 2025, 5:20 PM
Updated: Oct 29, 2025, 5:20 PM

Vulnerability Rating

Custom Algorithm
spread
6.2
impact
0.6
exploitability
9.5
remediation
7.7
relevance
0.9
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.