CVE-2025-52891
MEDIUM6.5EPSS 0.24%ModSecurity empty XML tag causes segmentation fault
Published: 7/2/2025Modified: 4/28/2026
Also known as:DEBIAN-CVE-2025-52891
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.
Affected packages (3)
- Bitnami/modsecurity>= 2.9.8, < 3.0.12
- Bitnami/modsecurity2>= 2.9.8, < 2.9.11
- Debian/modsecurity-apachefrom 0, < 2.9.11-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References (4)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-52891
- WEBhttps://github.com/owasp-modsecurity/ModSecurity/commit/ecd7b9736836eee391d25f35d5bd06a3ce35a45d
- WEBhttps://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-gw9c-4wfm-vj3x
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-52891