{"id":"CVE-2025-52891","summary":"ModSecurity empty XML tag causes segmentation fault","details":"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 \u003cfoo\u003e\u003c/foo\u003e), then a segmentation fault occurs. This issue has been patched in version 2.9.11. A workaround involves setting SecParseXmlIntoArgs to Off.","aliases":["BIT-modsecurity-2025-52891","BIT-modsecurity2-2025-52891","GHSA-gw9c-4wfm-vj3x"],"modified":"2026-04-02T12:52:50.959876Z","published":"2025-07-02T15:03:34.068Z","related":["openSUSE-SU-2025:15313-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52891.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52891.json"},{"type":"ADVISORY","url":"https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-gw9c-4wfm-vj3x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52891"},{"type":"FIX","url":"https://github.com/owasp-modsecurity/ModSecurity/commit/ecd7b9736836eee391d25f35d5bd06a3ce35a45d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/owasp-modsecurity/ModSecurity","events":[{"introduced":"0"},{"fixed":"5615addfb3432d5b1af1849c5e78e11812a8fe03"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.9.11"}]}},{"type":"GIT","repo":"https://github.com/owasp-modsecurity/modsecurity","events":[{"introduced":"0"},{"fixed":"ecd7b9736836eee391d25f35d5bd06a3ce35a45d"}]}],"versions":["v2.1.0","v2.1.0-rc7","v2.1.1","v2.1.1-dev2","v2.1.1-dev3","v2.1.1-dev4","v2.1.1-rc1","v2.1.1-rc2","v2.1.2","v2.1.2-rc1","v2.1.2-rc2","v2.1.2-rc3","v2.1.3","v2.1.3-rc1","v2.1.3-rc2","v2.1.4","v2.1.4-rc1","v2.1.4-rc2","v2.1.4-rc3","v2.1.4-rc4","v2.1.5","v2.1.5-rc1","v2.1.6","v2.1.6-rc1","v2.1.7","v2.2.0-dev1","v2.5.0","v2.5.0-dev2","v2.5.0-rc1","v2.5.0-rc2","v2.5.0-rc3","v2.5.0-rc3-pre2","v2.5.0-rc4","v2.5.1","v2.5.1-rc1","v2.5.10","v2.5.10-dev1","v2.5.10-dev2","v2.5.10-dev3","v2.5.11","v2.5.12","v2.5.13","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.7-rc1","v2.5.8","v2.5.9","v2.6.0","v2.6.0-rc1","v2.6.0-rc2","v2.6.1","v2.6.2","v2.6.2-rc1","v2.6.3","v2.6.3-rc1","v2.6.4","v2.6.4-rc1","v2.6.5","v2.6.6","v2.6.7","v2.6.8","v2.7.0","v2.7.0-rc1","v2.7.0-rc3","v2.7.1","v2.7.2","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.8.0","v2.8.0-rc1","v2.9.0","v2.9.0-rc1","v2.9.0-rc2","v2.9.1","v2.9.1-rc1","v2.9.10","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6","v2.9.7","v2.9.8","v2.9.9","v3.0.0","v3.0.0-rc1","v3.0.1","v3.0.10","v3.0.11","v3.0.12","v3.0.13","v3.0.14","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52891.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}