What’s Vulnerable › Vulnerabilities
CVE-2021-28040
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-03-05 · updated 2026-06-17
- Weakness: CWE-674
Description
An issue was discovered in OSSEC 3.6.0. An uncontrolled recursion vulnerability in os_xml.c occurs when a large number of opening and closing XML tags is used. Because recursion is used in _ReadElem without restriction, an attacker can trigger a segmentation fault once unmapped memory is reached.
Affected products
- Ossec: 3.6.0
References
Get alerted when CVE-2021-28040 or the next vulnerability affects your stack