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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T17:48:01.629Z
- Modified: 2026-09-30T16:44:39.840Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- wazuh wazuh: >= 3.8.0, < 4.14.7

## References

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

## Sources

- CVE List: [CVE-2026-61811](https://www.cve.org/CVERecord?id=CVE-2026-61811), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-61811](https://nvd.nist.gov/vuln/detail/CVE-2026-61811), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-61811 · Whole record: https://cve.day/CVE-2026-61811.json · Rebuilt by cve.day 2026-11-25T22:59:40.884Z
