7.2

CVE-2026-25772: Wazuh Database Synchronization Vulnerable to Stack-based Buffer Overflow via snprintf Integer Underflow

Analyzed
Published 17-03-2026Last modified 17-03-2026

Vulnerability summary

CVE-2026-25772 is a high (CVSS 7.2) Stack-based Buffer Overflow vulnerability in wazuh. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 42.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
39/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (NVD)
EPSS score
0.51%
0%100%
Low · +0.20 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 17-03-2026
    PublishedVulnerability first disclosed.
  2. 17-03-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

Increase +0.20 pp

From 0.31% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Wazuh

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Wazuh1 product

1 vendor · 1 product

References

1 links