7.5
CWE
674
Advisory Published
Updated

CVE-2021-28040

First published: Fri Mar 05 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
OSSEC=3.6.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-28040?

    CVE-2021-28040 has a high severity due to its potential to cause a denial of service through a segmentation fault.

  • How do I fix CVE-2021-28040?

    To fix CVE-2021-28040, update to a patched version of OSSEC that controls recursion in XML processing.

  • What systems are affected by CVE-2021-28040?

    CVE-2021-28040 specifically affects OSSEC version 3.6.0.

  • What kind of attack does CVE-2021-28040 facilitate?

    CVE-2021-28040 facilitates a denial of service attack through uncontrolled recursion in XML parsing.

  • Can CVE-2021-28040 lead to data breaches?

    While CVE-2021-28040 primarily leads to service disruption, it does not directly allow for unauthorized data access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203