CVE-2025-52891 Details
Description
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.
A segmentation fault vulnerability has been identified in ModSecurity versions 2.9.8 prior to 2.9.11. The issue arises when the 'SecParseXmlIntoArgs' directive is enabled and the request is of type 'application/xml' containing at least one empty XML tag. Under these conditions, the parser fails, leading to a segmentation fault. The default setting for 'SecParseXmlIntoArgs' is 'Off', which means this vulnerability does not affect users unless they have explicitly enabled it.
Users can update to ModSecurity version 2.9.11, where this vulnerability has been patched. Alternatively, 'SecParseXmlIntoArgs' can be set to 'Off' to prevent the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 2, 2025CISA-ADP
Assessed Jul 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/owasp-modsecurity/ModSecurity/commit/ecd7b9736836eee391d25f35d5bd06a3ce35a45d | [email protected] | Source CodeVendor |
| https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-gw9c-4wfm-vj3x | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OWASP ModSecurity | >= 2.9.8, < 2.9.11 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2025 | New CVE Received | [email protected] |
Volerion