ModSecurity empty XML tag causes segmentation fault
Summary
ModSecurity empty XML tag causes segmentation fault
Original description
The description as published by the source.
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 ), then a segmentation fault occurs. This issue has been patched in version 2.9.11. A workaround involves setting SecParseXmlIntoArgs to Off.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-52891 modsecurity-apache Fixed in: 2.9.11-1
- Ubuntu UBUNTU-CVE-2025-52891 modsecurity
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com