1. Archivio CVE
  2. 2026
  3. CVE-2026-41499

CVE-2026-41499

6.5 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 6.5 – Media

Descrizione

Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 4.0.0 to before version 4.14.4, multiple heap-based out-of-bounds WRITE vulnerabilities exist in parse_uname_string() (remoted_op.c). This function processes OS identification data from agents and contains a dangerous code pattern that appears in 4 locations within the same function: writing to strlen(ptr) - 1 without checking for empty strings. When the string is empty, strlen() returns 0, and 0 - 1 wraps to SIZE_MAX due to unsigned integer underflow. Due to pointer arithmetic wrapping, SIZE_MAX effectively becomes -1, causing a write exactly 1 byte before the allocated buffer. This corrupts heap metadata (e.g., the chunk size field in glibc malloc), leading to heap corruption. This issue has been patched in version 4.14.4.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
wazuh wazuh >= 4.0.0 < 4.14.4 –
Tutte le 100 vulnerabilità di Wazuh

Tipo di vulnerabilità

CWE-124 Buffer Underwrite

The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.

Impatto sui sistemi

AmbitoImpatto
Integrità, Disponibilità Modificare la memoria, Interruzione del servizio: arresto o riavvio
Integrità, Riservatezza, Disponibilità, Controllo degli accessi, Altro Eseguire codice o comandi non autorizzati, Modificare la memoria, Aggirare i meccanismi di protezione, Altro
Controllo degli accessi, Altro Aggirare i meccanismi di protezione, Altro

Come si previene

Requisiti Choose a language that is not susceptible to these issues.
Sviluppo All calculated values that are used as index or for pointer arithmetic should be validated to ensure that they are within an expected range.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 39 CVE di tipo CWE-124, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org