CVE-2026-26204
JSON

4.4medium

Wazuh: Heap-based NULL WRITE Buffer Underflow in GetAlertData

Severity
4.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 1.0.0 to before version 4.14.4, a heap-based out-of-bounds WRITE occurs in GetAlertData, resulting in writing a NULL byte exactly 1 byte before the start of the buffer allocated by strdup. Due to unsigned integer underflow and pointer arithmetic wrapping, the write lands at offset -1 from the buffer, corrupting heap metadata. A malicious actor can potentially leverage this issue through a compromised agent to cause denial of service or heap corruption by injecting a specially crafted alert into the alerts log file monitored by wazuh-logcollector. This issue has been patched in version 4.14.4.

Affected

Product or packageVersionsReported by
wazuh wazuh>= 1.0.0, < 4.14.4, from 1.0.0 before 4.14.4CVE List, NVD

All scores

GitHub_M4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-124CWE-191

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 1.0.0 to before version 4.14.4, a heap-based out-of-bounds WRITE occurs in GetAlertData, resulting in writing a NULL byte exactly 1 byte before the start of the buffer allocated by strdup. Due to unsigned integer underflow and pointer arithmetic wrapping, the write lands at offset -1 from the buffer, corrupting heap metadata. A malicious actor can potentially leverage this issue through a compromised agent to cause denial of service or heap corruption by injecting a specially crafted alert into the alerts log file monitored by wazuh-logcollector. This issue has been patched in version 4.14.4.

NVD (es)

Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta a amenazas. Desde la versión 1.0.0 hasta antes de la versión 4.14.4, se produce una ESCRITURA fuera de límites basada en el heap en GetAlertData, lo que resulta en la escritura de un byte NULL exactamente 1 byte antes del inicio del búfer asignado por strdup. Debido a un desbordamiento inferior de entero sin signo y al ajuste de la aritmética de punteros, la escritura se produce en el desplazamiento -1 desde el búfer, corrompiendo los metadatos del heap. Un actor malicioso puede potencialmente aprovechar este problema a través de un agente comprometido para causar denegación de servicio o corrupción del heap inyectando una alerta especialmente diseñada en el archivo de registro de alertas monitoreado por wazuh-logcollector. Este problema ha sido parcheado en la versión 4.14.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-26204 changed 2026-04-30CVE Terms of Use
NVDCVE-2026-26204 changed 2026-11-11Public domain