Skip to main content

Wazuh CVE-2026-26204

| EUVDEUVD-2026-26259 MEDIUM
Buffer Underwrite ('Buffer Underflow') (CWE-124)
2026-04-29 GitHub_M
4.4
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
4.4 MEDIUM
AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
4.4 MEDIUM

Local access and high privileges are required to write crafted alerts to logcollector-monitored files; scope is unchanged and only availability (process crash) is impacted.

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

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Source Code Evidence Fetched
Jul 24, 2026 - 01:36 vuln.today
Analysis Generated
Jul 24, 2026 - 01:36 vuln.today
Patch released
Apr 30, 2026 - 20:40 nvd
Patch available
Patch available
Apr 29, 2026 - 19:02 EUVD
EUVD ID Assigned
Apr 29, 2026 - 18:00 euvd
EUVD-2026-26259
CVE Published
Apr 29, 2026 - 17:43 nvd
MEDIUM 4.4

DescriptionGitHub Advisory

Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 1.0.0 to before version 4.14.4, a heap-based out-of-bounds WRITE occurs in GetAlertData, resulting in writing a NULL byte exactly 1 byte before the start of the buffer allocated by strdup. Due to unsigned integer underflow and pointer arithmetic wrapping, the write lands at offset -1 from the buffer, corrupting heap metadata. A malicious actor can potentially leverage this issue through a compromised agent to cause denial of service or heap corruption by injecting a specially crafted alert into the alerts log file monitored by wazuh-logcollector. This issue has been patched in version 4.14.4.

AnalysisAI

Heap-based buffer underwrite in Wazuh's GetAlertData function (versions 1.0.0 through 4.14.3) allows a threat actor who has already compromised a Wazuh agent to corrupt heap metadata on the manager or agent host by injecting a specially crafted alert into the log file monitored by wazuh-logcollector. The root cause is an unsigned integer underflow combined with pointer arithmetic wrapping that causes a NULL byte write exactly one byte before the start of a strdup-allocated buffer, corrupting adjacent heap metadata. No active exploitation is confirmed (absent from CISA KEV), though SSVC classifies a POC as existing; EPSS at 0.01% (2nd percentile) reflects very low observed exploitation probability, and a vendor-released patch is available in version 4.14.4.

Technical ContextAI

The affected product is the Wazuh open-source SIEM and XDR platform (CPE: cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*), versions 1.0.0 through 4.14.3. The vulnerable code path resides in the GetAlertData function, which is exercised by the wazuh-logcollector component when parsing entries from alert log files. CWE-124 (Buffer Underwrite / Buffer Underflow) describes the root cause precisely: a size calculation involving an unsigned integer underflows to a very large positive value, and subsequent pointer arithmetic wraps around so that the write target lands at offset -1 from the buffer returned by strdup. Writing a NULL byte there corrupts the allocator's heap metadata block that immediately precedes the allocation, which can destabilize the heap and cause process crashes or undefined behavior in subsequent heap operations. The fix was confirmed via GitHub PRs #34501 (agent side) and #34658 (manager side) included in the v4.14.4 release.

RemediationAI

Upgrade to Wazuh 4.14.4, which resolves the heap-based NULL write buffer underflow in GetAlertData via PRs #34501 (agent) and #34658 (manager), as documented in the official release at https://github.com/wazuh/wazuh/releases/tag/v4.14.4. If immediate upgrade is not possible, the most effective compensating control is to harden agent trust boundaries: ensure that only cryptographically authenticated, known-good agents are permitted to submit data to the manager, and implement file integrity monitoring on the alerts log files to detect unexpected modifications. Restricting write access to the logcollector-monitored log directories to only the wazuh process account reduces the surface for a compromised agent to inject crafted content, though this does not eliminate the risk if the agent process itself is compromised. Disabling wazuh-logcollector entirely would block the attack path but would also eliminate log collection capability - this trade-off is only acceptable in environments where rapid patching is infeasible and the monitoring gap can be covered by an alternative solution.

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-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-2024-1243 HIGH POC
7.2 Jun 11

CVE-2024-1243 is an improper input validation vulnerability in Wazuh agent for Windows (versions prior to 4.8.0) that al

CVE-2026-54085 HIGH POC
7.1 Aug 27

Argument injection in Wazuh active response scripts (versions 4.2.0-4.14.6) allows a low-privileged network attacker who

CVE-2026-61783 HIGH POC
7.0 Aug 27

Cluster secret exposure in Wazuh 4.14.0-4.14.6 stems from a logic inversion in the RBAC masking gate that counterintuiti

Share

CVE-2026-26204 vulnerability details – vuln.today

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