CVE-2026-41499
published medium CVSS 3.1 · 6.5Wazuh: Multiple Heap-based NULL WRITE Buffer Underflows in parse_uname_string()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wazuh | — | wazuh>= 4.0.0, < 4.14.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wazuh | wazuh | >= 4.0.0, < 4.14.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-124 CWE-124: Buffer Underwrite ('Buffer Underflow')
- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
References
2Provider assertions
2GitHub_M · cna
Wazuh: Multiple Heap-based NULL WRITE Buffer Underflows in parse_uname_string()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6f6adad2f72e36d0a494c2f58f7b8f42d57127feb52740f5869e4c54a3e87a42
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record