PT-2026-78509 · Wazuh · Wazuh

CVE-2026-45798

·

Published

2026-08-19

·

Updated

2026-08-19

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Wazuh versions 4.5.0 through 4.14.5 Wazuh versions 5.0.0-beta1 and earlier
Description A flaw exists in the compare wazuh versions() function within src/shared/version op.c where the enrollment V: field is copied into a 10-byte stack buffer using strncpy() without explicit termination. This function is accessible before authentication via wazuh-authd on TCP port 1515 when anonymous TLS enrollment is enabled. A version string containing at least nine non-null bytes can cause strchr() and strtok() to read beyond the buffer and allow strtok() to write a null byte into adjacent stack memory, resulting in a remote denial of service.
Recommendations Update to version 4.14.6. Update to version 5.0.0-beta2.

Exploit

Fix

DoS

Stack Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-45798
GHSA-4FVP-JFC3-QR6R

Affected Products

Wazuh