# CVE-2026-61811: Wazuh: Unbounded Recursion in os\_xml \`\_getattributes()\` Causes analysisd Worker Thread Stack Exhaustion

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-24 · Modified: 2026-09-24
- Record: https://cvemate.com/vulnerability/CVE-2026-61811 · JSON: https://cvemate.com/vulnerability/CVE-2026-61811/json

## Description

```text
Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. From 3.8.0 until 4.14.7, the _getattributes() function in src/os_xml/os_xml.c recursively processes every XML attribute without a depth limit while allocating two large local buffers in each stack frame. An enrolled agent can submit a Windows EventChannel event containing an element with enough attributes to exhaust the analysisd worker-thread stack, trigger a segmentation fault, and interrupt log ingestion. The element-depth limit in _ReadElem() does not constrain the number of attributes on one element, so it does not prevent this condition. This issue is fixed in version 4.14.7.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.37%, percentile 32.956%, as of 2026-12-06
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- wazuh wazuh: ≥ 3.8.0, \< 4.14.7

## References

- <https://github.com/wazuh/wazuh/security/advisories/GHSA-9wv5-7qwx-m9w5>
- <https://github.com/wazuh/wazuh/pull/37147>
- <https://github.com/wazuh/wazuh/commit/2ac70941c5980a5dd24ad8a0f2be559f840e6a67>
- <https://github.com/wazuh/wazuh/releases/tag/v4.14.7>

---

Data as of 2026-12-06T19:28:54.865Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
