VYPR
Medium severity6.5NVD Advisory· Published Apr 29, 2026· Updated Jun 17, 2026

CVE-2026-41499

CVE-2026-41499

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2
  • Wazuh/Wazuh2 versions
    cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*range: >=4.0.0,<4.14.4
    • (no CPE)range: 4.0.0 <= v < 4.14.4

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.