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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-02)
- Published: 2025-07-02T15:03:34.068Z
- Modified: 2026-06-17T09:37:13.520Z
- Also known as: BIT-MODSECURITY-2025-52891, BIT-MODSECURITY2-2025-52891, GHSA-gw9c-4wfm-vj3x
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- owasp-modsecurity ModSecurity: >= 2.9.8, < 2.9.11
- modsecurity (Bitnami): from 2.9.8 before 3.0.12
- modsecurity2 (Bitnami): from 2.9.8 before 2.9.11

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-gw9c-4wfm-vj3x> (web)
- <https://github.com/owasp-modsecurity/ModSecurity/commit/ecd7b9736836eee391d25f35d5bd06a3ce35a45d> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-52891> (web)

## Sources

- CVE List: [CVE-2025-52891](https://www.cve.org/CVERecord?id=CVE-2025-52891), CVE Terms of Use, modified 2025-07-02
- NVD: [CVE-2025-52891](https://nvd.nist.gov/vuln/detail/CVE-2025-52891), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MODSECURITY-2025-52891](https://osv.dev/vulnerability/BIT-MODSECURITY-2025-52891), Apache-2.0, modified 2025-07-04
- Bitnami Vulnerability Database: [BIT-MODSECURITY2-2025-52891](https://osv.dev/vulnerability/BIT-MODSECURITY2-2025-52891), Apache-2.0, modified 2025-07-04

---

Page: https://cve.day/CVE-2025-52891 · Whole record: https://cve.day/CVE-2025-52891.json · Rebuilt by cve.day 2026-11-25T22:59:00.483Z
