CVE-2025-52891: ModSecurity empty XML tag causes segmentation fault

Published Jul 2, 2025
·
Updated

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. In versions 2.9.8 to before 2.9.11, an empty XML tag can cause a segmentation fault. If SecParseXmlIntoArgs is set to On or OnlyArgs, and the request type is application/xml, and at least one XML tag is empty (eg <foo></foo>), then a segmentation fault occurs. This issue has been patched in version 2.9.11. A workaround involves setting SecParseXmlIntoArgs to Off.

Affected Software

1 affected component
ModSecurity modsecurity>=2.9.8<2.9.11

Event History

Jul 2, 2025
CVE Published
via MITRE·03:03 PM
Data Sourced
via MITRE·03:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-52891?

CVE-2025-52891 has been identified as a high severity vulnerability due to its potential to cause a segmentation fault.

2

How do I fix CVE-2025-52891?

To fix CVE-2025-52891, upgrade ModSecurity to version 2.9.11 or later.

3

What are the affected versions for CVE-2025-52891?

CVE-2025-52891 affects ModSecurity versions from 2.9.8 up to, but not including, 2.9.11.

4

What impact does CVE-2025-52891 have on web applications?

CVE-2025-52891 can potentially lead to application crashes and service disruption if exploited.

5

Is CVE-2025-52891 related to XML processing in ModSecurity?

Yes, CVE-2025-52891 is triggered by an empty XML tag when the SecParseXmlIntoArgs directive is enabled.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203