Pre-auth daemon crash via unterminated version copy
Published Aug 19, 2026 · Updated Aug 19, 2026
Buffer overflow in Wazuh 4.5.0 through 4.14.5 and 5.0.0-beta1 allows remote attackers to crash wazuh-authd via an enrollment V field. compare_wazuh_versions() copies the attacker-controlled version string into a 10-byte stack buffer with strncpy(), fails to NUL-terminate maximum-length input, and then lets strchr() and strtok() read past and write past ver2 on the stack. By default, wazuh-authd accepts unauthenticated enrollment traffic on TCP port 1515, so any network attacker that can reach the manager can interrupt new agent enrollments; published analysis does not demonstrate data disclosure or code execution.
Summary
What happened
Buffer overflow in Wazuh 4.5.0 through 4.14.5 and 5.0.0-beta1 allows remote attackers to crash wazuh-authd via an enrollment V field. compare_wazuh_versions() copies the attacker-controlled version string into a 10-byte stack buffer with strncpy(), fails to NUL-terminate maximum-length input, and then lets strchr() and strtok() read past and write past ver2 on the stack. By default, wazuh-authd accepts unauthenticated enrollment traffic on TCP port 1515, so any network attacker that can reach the manager can interrupt new agent enrollments; published analysis does not demonstrate data disclosure or code execution.
The record
- CVE
- CVE-2026-45798
- Published
- Aug 19, 2026
- Updated
- Aug 19, 2026
- Vendor
- Wazuh
- Product
- Wazuh
- Classifications
- CWE-170, CWE-121, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 19, 2026CVE publishedPublication date reported by the CVE source.
- Aug 19, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 4.5.0, < 4.14.6
- Affected versionversion=>= 5.0.0-beta1, < 5.0.0-beta2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-4fvp-jfc3-qr6r trigger payload and replay commandproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo