Skip to main content

Wazuh Manager CVE-2026-28221

| EUVDEUVD-2026-26270 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-04-29 GitHub_M
8.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Reach Wazuh manager on TCP/1514
  2. Delivery
    Send oversized length-prefix message
  3. Exploit
    Trigger 'unexpected message (hex)' diagnostic path
  4. Execution
    Sign-extended 0xFF bytes overflow 2049-byte stack buffer
  5. Persist
    Corrupt stack / exhaust log I/O
  6. Impact
    Degrade or crash remoted daemon

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must reach the Wazuh manager's agent communication port TCP/1514 and send a message whose length prefix exceeds OS_MAXSTR, which routes execution into the unauthenticated 'unexpected message (hex)' diagnostic path in nb_recv() (netbuffer.c) that calls print_hex_string() into a fixed 2049-byte stack buffer - this is reachable before any agent authentication/registration. To trigger the memory-corruption overflow specifically, the input must contain high bytes (>= 0x80, e.g. 0xFF) AND the daemon must be a build where char is signed and sign-extended before the variadic sprintf call (per the GHSA, the default on x86_64 / -fsigned-char); on platforms where char is unsigned the overflow does not occur. LIMITING FACTORS: the signed-char build dependency constrains memory corruption, and the reporter did not demonstrate a reliable crash or RCE in the shipping binary. The log-amplification denial-of-service variant has NO such limits - it needs only repeated oversized messages with bytes < 0x80 from an unauthenticated TCP client, as Wazuh's documented anti-flooding controls apply to agent event throughput, not raw TCP clients on this warning path.

Impact

Signals conflict in an informative way. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, score 8.2) and the SSVC framework (Exploitation: poc, Automatable: yes, Technical Impact: partial) both describe a remotely reachable, pre-authentication flaw that is easy to trigger and scriptable - a genuinely attractive target profile for a network-exposed security daemon. Against that, EPSS is only 0.06% (18th percentile) and the CVE is NOT on CISA KEV, indicating no observed widespread exploitation. The vuln.today decision label is 'this_week' rather than act_now/emergency. Crucially, the GHSA author explicitly states what is and is NOT proven: a deterministic out-of-bounds stack write is confirmed via AddressSanitizer and the sign-extension (movsbl) behavior is confirmed in the shipping x86_64 binary, but 'reliable crash or control-flow hijack in the shipping build' is NOT demonstrated. So the CVSS A:H and the realistic near-term risk rest primarily on the availability/DoS and log-amplification paths rather than proven remote code execution. Net: this is a real, prioritize-this-week issue for internet- or network-exposed Wazuh managers because the diagnostic path is unauthenticated, automatable, and trivially reachable on TCP/1514 - but the low EPSS and absence of KEV suggest it is not yet seeing mass exploitation, and the headline RCE potential is unverified. Note also the condition dependency: the memory-corruption overflow requires a signed-char/sign-extending build (default on x86_64), so impact may differ on platforms where char is unsigned, while the log-amplification DoS is build-independent.

Exploit ScenarioDerived

An unauthenticated attacker with network reach to the Wazuh manager's agent port (TCP/1514) sends a message with a length prefix exceeding OS_MAXSTR containing bytes such as 0xFF, driving the 'unexpected message (hex)' diagnostic path through print_hex_string() and writing past the fixed 2049-byte stack buffer on signed-char builds. The GHSA provides proof-of-concept material (an ASan proof, binary disassembly showing sign-extension, and network/DoS trigger scripts); a deterministic out-of-bounds write is confirmed, though a reliable crash or code-execution in the shipping build is not demonstrated. Even without the overflow, the attacker can repeatedly hit the same path with bytes < 0x80 to flood /var/ossec/logs/ossec.log for resource-exhaustion and alert-noise denial of service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Nov 11, 2026

Wazuh manager releases 4.8.0 through 4.14.3 contain a stack-based buffer overflow in print_hex_string() inside wazuh-remoted that unauthenticated remote clients can reach over TCP/1514, prior to any agent authentication or registration, by sending a message whose length prefix exceeds OS_MAXSTR and forces the 'unexpected message (hex)' diagnostic path. On builds where char is signed and the compiler sign-extends the byte before the variadic sprintf("%.2x") call, bytes such as 0xFF format as eight characters instead of two and write past a fixed 2049-byte stack buffer; a public proof-of-concept exists in the advisory (deterministic AddressSanitizer stack-buffer-overflow plus a network trigger script) and the shipping binary's sign extension was confirmed by disassembly, though the reporter did not demonstrate a reliable crash or control-flow hijack in the production build. The same pre-auth path independently logs an attacker-controlled hex dump to /var/ossec/logs/ossec.log on every trigger, and this log amplification needs only bytes below 0x80, so it works even where the overflow does not. EPSS is low at 0.06% (18th percentile) and CISA SSVC records exploitation as PoC-level with partial technical impact; the vendor fix is version 4.14.4.

Earlier versions of this analysis (1)
v1 Jul 24, 2026 - 01:36 CVSS 6.5

Stack-based buffer overflow in wazuh-remoted's print_hex_string() function exposes Wazuh 4.8.0 through 4.14.3 to unauthenticated remote exploitation via TCP/1514, reachable before any agent authentication logic executes. The overflow stems from a C signed-char sign-extension defect where bytes ≥ 0x80 are rendered as 8-character hex strings instead of 2, overflowing a fixed 2049-byte stack buffer; a secondary unauthenticated path independently enables remote log amplification capable of exhausting disk and I/O on the monitoring host. No public exploit has been confirmed as actively exploited (not in CISA KEV), though SSVC assesses a proof-of-concept exists and the attack is automatable at scale.

RemediationAI

Vendor-released patch: Wazuh 4.14.4, which incorporates PR #34602 ('Changed to unsigned char in print_hex_string') together with the manager's other buffer-underflow fixes, so no version between 4.8.0 and 4.14.3 should be considered corrected. Upgrade managers to 4.14.4 from the release page at https://github.com/wazuh/wazuh/releases/tag/v4.14.4 and re-verify the deployed wazuh-remoted binary. Where upgrading cannot happen immediately, the most direct control is to restrict inbound TCP/1514 on the manager to known agent networks at the network or firewall layer, since the vulnerable diagnostic path is reachable only from that agent-communication port and requires no credentials - the trade-off is that agents and enrollment from other address ranges are blocked until the rules change. For the log-amplification variant, monitor /var/ossec/logs/ossec.log for repeated 'Unexpected message (hex)' entries and keep the internal rotation controls (monitord.rotate_log, monitord.size_rotate, monitord.daily_rotations, monitord.keep_log_days) configured to bound disk consumption; note the advisory states there is no documented ingress rate limit for this specific warning path, so rotation only limits the damage rather than preventing it. No vendor workaround other than updating is described for the memory-corruption case, and the reporter explicitly did not demonstrate a reliable crash or control-flow hijack in the shipping binary, so urgency is driven by the pre-auth reachability and the documented log-amplification denial of service rather than by confirmed remote code execution.

Affected VersionsENISA

wazuh 4.8.0, < 4.14.4

Affected Packages

euvd wazuh_4_8_0 fix: 4.14.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The root cause is CWE-121 (stack-based buffer overflow) arising from a variadic-argument promotion bug. In src/shared/src/string_op.c, print_hex_string() loops while i < (dst_size-1)/2 and i < src_size, calling sprintf(dst_buf + 2*i, "%.2x", src_buf[i]). Because sprintf is variadic and the source buffer is plain char, each byte is promoted to int; on platforms where char is signed (the default on x86_64, and reproducible with -fsigned-char), a byte of 0xFF is promoted to -1 and printed as "ffffffff" - eight bytes instead of the two the pointer arithmetic reserves per iteration. With a 1024-iteration loop bound derived from the 2049-byte destination, the worst case writes roughly 8192 bytes into a 2049-byte stack buffer. The triggering caller is in src/remoted/src/netbuffer.c inside nb_recv(): when the parsed message length exceeds OS_MAXSTR, the daemon declares char hex[OS_SIZE_2048 + 1], calls print_hex_string(), logs "Unexpected message (hex): '%s'" and closes the connection - all before any credential check. A secondary CWE-400 (uncontrolled resource consumption) issue rides on the same code path: the hex dump is written to /var/ossec/logs/ossec.log for each oversized message, and because Wazuh's documented anti-flooding controls govern agent event throughput rather than raw TCP clients, unauthenticated senders can drive repeated log writes. The GHSA confirms both weaknesses against the same vulnerable 4.14.3 source.

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

NVD PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 8.2 HIGH

Remote pre-auth reach on TCP/1514 (AV:N, PR:N, UI:N), easily scripted (AC:L); confirmed DoS/stack-write gives A:H and I:L, with no confidentiality exposure (C:N).

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

6
Analysis Updated
Nov 11, 2026 - 21:37 vuln.today
v2 - CVSS changed
Severity Changed
Nov 11, 2026 - 21:22 NVD
MEDIUM HIGH
CVSS changed
Nov 11, 2026 - 21:22 NVD
6.5 (MEDIUM) 8.2 (HIGH)
Patch released
Apr 30, 2026 - 20:34 nvd
Patch available
Patch available
Apr 29, 2026 - 20:01 EUVD
CVE Published
Apr 29, 2026 - 17:53 nvd
MEDIUM 6.5

DescriptionNVD

Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 4.8.0 to before version 4.14.4, a stack-based buffer overflow exists in print_hex_string() in wazuh-remoted. The bug is triggered when formatting attacker-controlled bytes using sprintf(dst_buf + 2*i, "%.2x", src_buf[i]) on platforms where char is treated as signed and the compiled code sign-extends bytes before the variadic call. For input bytes such as 0xFF, the formatting can emit "ffffffff" (8 chars) instead of "ff" (2 chars), causing an out-of-bounds write past a fixed 2049-byte stack buffer. The vulnerable path is reachable remotely prior to any agent authentication/registration logic via TCP/1514 when an oversized length prefix causes the “unexpected message (hex)” diagnostic path to run. Additionally, the same unauthenticated oversized-message diagnostic path logs an attacker-controlled hex dump to /var/ossec/logs/ossec.log for each trigger, allowing remote log amplification that can degrade monitoring fidelity and consume disk/I/O. This log amplification is reachable even without triggering the sign-extension overflow (e.g., using bytes < 0x80). This issue has been patched in version 4.14.4.

Executive ViewAI

Why It Matters

CVE-2026-28221 is a high-severity buffer overflow in Wazuh manager versions 4.8.0 through 4.14.3 that can be triggered remotely without authentication via TCP/1514. If exploited, it may allow an attacker to crash the manager or potentially execute code, disrupting security monitoring and log collection across the organization. Leadership should care because Wazuh is often a critical security operations component, and exploitation could blind incident detection or lead to broader compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Prevalence
Medium
popular open-source SIEM/XDR platform, common but not ubiquitous
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

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-2026-30893 CRITICAL POC
9.9 Apr 29

Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron

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

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