Live threats

All CVEs / Ossec

CVE-2021-28040Ossec

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Mar 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ossec.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ossecossec3.6.0

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Issue Tracking Third Party Advisory