> CVE-2026-45798 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-08-19 17:18
MODIFIED
2026-08-19 17:18
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.92%
Top 40.1%
DATA SOURCES:
NVD đź”— 2026-08-19 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-25 OSV đź”— 2026-09-14

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EXPLOITABILITY
3.9
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-121 CWE-170

> CWE DETAILED DESCRIPTIONS

CWE-121: Stack-based Buffer Overflow - A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). | CWE-170: Improper Null Termination - The product does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Wazuh: Pre-auth stack-buffer-overflow in compare_wazuh_versions reachable from wazuh-authd (TCP/1515) via crafted enrollment V: field

AFFECTED PACKAGES:
Unknown / Unknown
1 versions affected
ALIASES:
GHSA-4fvp-jfc3-qr6r

> HISTORIQUE DES MODIFICATIONS

Première apparition
19/08/2026 17:18
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-121: Stack-based Buffer Overflow - A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a para...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/wazuh/wazuh/commit/b6aac379982d6144b8da38450cbea6c8dc15be44
https://github.com/wazuh/wazuh/pull/36059
https://github.com/wazuh/wazuh/releases/tag/v4.14.6
https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2
https://github.com/wazuh/wazuh/security/advisories/GHSA-4fvp-jfc3-qr6r
« BACK_TO_HOME