7.5

CVE-2026-45798: wazuh Stack-based Buffer Overflow

CVSS: 7.5v3.1HighAnalyzed
Published 19-08-2026Last modified 19-08-2026

Vulnerability summary

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

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.92%
0%100%
Low · +0.38 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 19-08-2026
    PublishedVulnerability first disclosed.
  2. 19-08-2026
    Last modifiedVulnerability information updated.

Description

Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.5.0 until 4.14.6 and 5.0.0-beta2, compare_wazuh_versions() in src/shared/version_op.c copies the attacker-controlled enrollment V: field into a 10-byte stack buffer with strncpy() but does not explicitly terminate the buffer. The function is reachable before authentication through wazuh-authd on TCP port 1515 when anonymous TLS enrollment is enabled. A version string of at least nine non-null bytes can cause strchr() and strtok() to read beyond ver2 and can make strtok() write a null byte into adjacent stack memory, allowing a remote denial of service. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.92%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

+0.38 pp

From 0.53% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.92%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Wazuh

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Wazuh1 product
  • wazuh≥ 5.0.0-beta1, < 5.0.0-beta2 | ≥ 4.5.0, < 4.14.6 | 5.0.0:beta1

1 vendor · 1 product

References

5 links