CVE-2026-25772: Wazuh - Buffer Overflow
- Cve: CVE-2026-25772
- Name: Wazuh - Buffer Overflow
- Description: Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 4.4.0 and prior to version 4.14.3, a stack-based buffer overflow vulnerability exists in the Wazuh Database synchronization module (`wdb_delta_event.c`). The SQL query construction logic allows for an integer underflow when calculating the remaining buffer size. This occurs because the code incorrectly aggregates the return value of `snprintf`. If a specific database synchronization payload exceeds the size of the query buffer (2048 bytes), the size calculation wraps around to a massive integer, effectively removing bounds checking for subsequent writes. This allows an attacker to corrupt the stack, leading to a Denial of Service (DoS) or potentially RCE. Version 4.14.3 fixes the issue.
- Impact: Attackers can cause denial of service or execute code remotely by exploiting buffer overflow in database synchronization.
- Remediation: Update to version 4.14.3 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00364
- Epss percentile: 0.3086
- Assignee: [email protected]
- Published at: 2026-03-17T19:16:01Z
- Age in days: 252
- Modified at: 2026-06-17T10:25:12Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25772
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-121 | Stack-based Buffer Overflow |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/wazuh/wazuh/security/advisories/GHSA-h7vp-j34v-h6j5 | nvd | 2026-03-17 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/wazuh/wazuh/security/advisories/GHSA-h7vp-j34v-h6j5 | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wazuh:wazuh | >= 4.4.0, < 4.14.3 | no | nvd | /v1/products/wazuh/wazuh |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| wazuh/wazuh | security_advisory | yes | /v1/repositories/wazuh/wazuh |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-17
- Remote: yes
- Authentication required: yes
- Exposed hosts: 7218
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports