CVE-2026-41499

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

Configuration 1 (hide)

cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Wazuh es una plataforma de código abierto y gratuita utilizada para la prevención, detección y respuesta ante amenazas. Desde la versión 4.0.0 hasta antes de la versión 4.14.4, existen múltiples vulnerabilidades de ESCRITURA fuera de límites basadas en el heap en parse_uname_string() (remoted_op.c). Esta función procesa datos de identificación del sistema operativo de los agentes y contiene un patrón de código peligroso que aparece en 4 ubicaciones dentro de la misma función: escribiendo en strlen(ptr) - 1 sin verificar si hay cadenas vacías. Cuando la cadena está vacía, strlen() devuelve 0, y 0 - 1 se ajusta a SIZE_MAX debido a un desbordamiento negativo de entero sin signo. Debido al ajuste de la aritmética de punteros, SIZE_MAX se convierte efectivamente en -1, causando una escritura exactamente 1 byte antes del búfer asignado. Esto corrompe los metadatos del heap (por ejemplo, el campo de tamaño de chunk en glibc malloc), lo que lleva a la corrupción del heap. Este problema ha sido parcheado en la versión 4.14.4.

01 May 2026, 13:01

Type Values Removed Values Added
CPE cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
First Time Wazuh
Wazuh wazuh
References () https://github.com/wazuh/wazuh/releases/tag/v4.14.4 - () https://github.com/wazuh/wazuh/releases/tag/v4.14.4 - Release Notes
References () https://github.com/wazuh/wazuh/security/advisories/GHSA-qvqj-p8mm-r7h3 - () https://github.com/wazuh/wazuh/security/advisories/GHSA-qvqj-p8mm-r7h3 - Vendor Advisory

29 Apr 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-29 19:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-41499

Mitre link : CVE-2026-41499

CVE.ORG link : CVE-2026-41499


JSON object : View

Products Affected

wazuh

  • wazuh
CWE
CWE-124

Buffer Underwrite ('Buffer Underflow')

CWE-191

Integer Underflow (Wrap or Wraparound)