7.5

CVE-2021-28040: ossec Uncontrolled Recursion

CVSS: 7.5v3.1HighModified
Published 05-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-28040 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in ossec. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 05-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

1.19%

Chance of exploitation in the next 30 days

Percentile

68%

Versus all other CVEs

30-day change

0.00 pp

From 1.19% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.19%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Ossec Hids

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Ossec1 product

1 vendor · 1 product

References

1 links