{"id":"CVE-2026-41499","aliases":["CVE-2026-41499"],"related":[],"kind":"vulnerability","state":"published","title":"Wazuh: Multiple Heap-based NULL WRITE Buffer Underflows in parse_uname_string()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-29T18:01:25.078Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-124","CWE-191"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.14.4","status":"affected"}],"vendor":"wazuh","product":"wazuh","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.14.4"}],"vendor":"wazuh","product":"wazuh","cpe":"cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-qvqj-p8mm-r7h3","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.4","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-29T18:31:03.330Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41499","url":"https://www.cve.org/CVERecord?id=CVE-2026-41499","licence":"CVE Terms of Use","modified":"2026-04-29T18:31:46.154Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41499","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41499","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.247Z","epss":{"score":0.00264,"percentile":0.19589,"date":"2026-12-01T12:00:22.000Z"}}