CVE-2026-41499

medium
Published 2026-04-29 · Modified 2026-05-01
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v2
VIR risk
6.5

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.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/wazuh/wazuh/security/advisories/GHSA-qvqj-p8mm-r7h3

vendor Authored 2026-05-27

Vendor advisory: security-advisories@github.com — https://github.com/wazuh/wazuh/releases/tag/v4.14.4

Application impact

VendorProductVersionsFixed
wazuhwazuh{"startIncluding":"4.0.0","endExcluding":"4.14.4"}4.14.4

References

CWEs

CWE-124 CWE-191

Verify integrity in audit chain (admin only). AS-IS.