Skip to main content

Wazuh CVE-2025-62789

MEDIUM
Unchecked Return Value (CWE-252)
2025-10-29 security-advisories@github.com
6.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise or enroll trusted agent
  2. Delivery
    Craft malformed FIM message
  3. Exploit
    Send to wazuh manager
  4. Execution
    Trigger NULL deref in fim_alert/strdup
  5. Impact
    Crash analysisd, halt alerting

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Return value checking
Exploitation Conditions

Exploitation requires the attacker to control or impersonate a Wazuh agent that can deliver an agent message (specifically a crafted File Integrity Monitoring / FIM event) to the manager's analysisd processing path - the description states the actor must be 'a compromised agent.' The trigger is a specially crafted message that causes ctime_r to return NULL inside fim_alert(), after which strdup() is called on the NULL pointer. Limiting factors: the attacker must already have a trusted/enrolled agent foothold or be able to inject into the agent-to-manager channel (not anonymous external access despite the CVSS PR:N), and impact is confined to crashing the analysisd daemon (availability of alert analysis) with no data exposure or modification. Affected: Wazuh manager prior to 4.11.0; fixed in 4.11.0.

Impact

This is a denial-of-service vulnerability (CWE-252, unchecked return value of ctime_r before strdup) that crashes the analysisd daemon on the Wazuh manager. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L) scores it 6.9 (Medium) with availability-only impact and no confidentiality/integrity effect, which is consistent with a crash-only DoS. However, there is a meaningful conflict between the CVSS PR:N (no privileges) rating and the description, which explicitly states the attacker must be 'a compromised agent' able to 'craft and send an agent message to the wazuh manager' - in practice Wazuh agents are enrolled/registered and authenticate to the manager, so real-world exploitation presupposes attacker control of an already-trusted agent rather than a truly anonymous network attacker; verify authorization model with vendor. POC/exploit material is flagged as publicly available (the GitHub Security Advisory reference is tagged as an exploit), raising practical exploitability, but no EPSS score is provided and the CVE is not listed in CISA KEV, so there is no evidence of active or widespread exploitation. Net: a legitimately real but bounded-impact issue - easy to trigger and availability-affecting, yet gated behind having a compromised agent and limited to disrupting the analysis pipeline, not a high-urgency critical. Prioritize patching in environments where agent compromise or rogue-agent enrollment is a credible threat.

Exploit ScenarioDerived

An attacker who has compromised an existing Wazuh agent (or can register/spoof one) crafts a malformed File Integrity Monitoring message and sends it to the Wazuh manager. When fim_alert() processes it, ctime_r returns NULL and the code calls strdup() on it without a null check, crashing the analysisd daemon and halting alert processing. Publicly available exploit material referenced in the GitHub Security Advisory lowers the barrier to reproduction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Denial of service in the Wazuh manager prior to 4.11.0 allows an actor controlling or impersonating an enrolled agent to crash the analysisd daemon by delivering a crafted File Integrity Monitoring event. Because fim_alert() calls strdup() on a ctime_r() return value without checking for NULL, a malformed agent message drives a NULL-pointer dereference that terminates alert analysis on the manager. Publicly available exploit code exists, though the attack requires an existing agent foothold or the ability to inject into the agent-to-manager channel; impact is limited to availability of analysisd with no data exposure or modification. Fixed in 4.11.0.

RemediationAI

Upgrade the Wazuh manager (and keep agents on matching supported releases) to 4.11.0, which contains the fix for the unchecked ctime_r() return in fim_alert(); see the advisory at https://github.com/wazuh/wazuh/security/advisories/GHSA-8rvq-mm2f-8q22 for details. Where an immediate upgrade is not possible, reduce exposure by tightening agent enrollment and key management so an attacker cannot register or impersonate an agent, since a forged or compromised agent channel is the prerequisite for the crash; note that this does not protect against already-enrolled agents and adds enrollment overhead. Additionally, segment and firewall the manager's agent-listener port (1514/TCP by default, plus the enrollment service on 1515/TCP) so only known agents can reach it, and configure process supervision (systemd Restart=on-failure or equivalent) so analysisd is automatically restarted after a crash - accepting that alerts are dropped and rules are reloaded during each restart window. Monitor for repeated analysisd restarts or abrupt agent-driven worker terminations as an indicator of attempted exploitation.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Wazuh is an open-source SIEM/XDR platform in which lightweight agents forward security telemetry - including File Integrity Monitoring (FIM) events - to a central manager, where the analysisd daemon performs decoding, rule matching, and alert generation. In fim_alert(), the manager converts a timestamp using the C library call ctime_r(), which returns NULL on failure (for example when the supplied time value is out of range for the conversion). The implementation passed that unchecked result directly into strdup(), which dereferences it, so a NULL return produces a segmentation fault that takes down analysisd. The root cause is CWE-252, Unchecked Return Value, a classic robustness gap in C code that trusts an external or attacker-influenced value to be convertible. The affected component is the manager side (CPE cpe:2.3:a:wazuh:wazuh up to but not including 4.11.0); exploitation depends on delivering a crafted message into the agent-to-manager event pipeline rather than on an unauthenticated internet-facing endpoint, which is why the independent analysis assessed PR:L rather than the CNA's CVSS 4.0 PR:N. Only availability of the analysis pipeline is affected - confidentiality and integrity are untouched.

Know when Wazuh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Requires a compromised/authenticated agent to send the message so PR:L (not PR:N); network-reachable and low complexity; crash of analysisd is a partial availability loss, so A:L and C/I:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.11.0, fim_alert() implementation does not check whether the return value of ctime_r is NULL or not before calling strdup() on it. A compromised agent can cause a crash of analysisd 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 analysisd to crash and make it unavailable. This vulnerability is fixed in 4.11.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
popular open-source SIEM/XDR, common in SOCs but not universal
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2025-30201 CRITICAL POC
9.1 Nov 21

Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

CVE-2026-71540 HIGH POC
7.5 Sep 24

Unauthenticated remote denial of service in the Wazuh cluster daemon (wazuh-clusterd) allows a network peer to exhaust p

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy