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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-02 · Modified: 2025-07-02
- Aliases: UBUNTU-CVE-2025-52891, DEBIAN-CVE-2025-52891, openSUSE-SU-2025:15313-1
- Record: https://cvemate.com/vulnerability/CVE-2025-52891 · JSON: https://cvemate.com/vulnerability/CVE-2025-52891/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.402%, percentile 36.502%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian modsecurity-apache (Debian): \< 2.9.11-1
- ubuntu modsecurity (Ubuntu): All versions (No fix recorded)
- owasp-modsecurity modsecurity: ≥ 2.9.8, \< 2.9.11
- opensuse apache2-mod\_security2&distro=openSUSE Tumbleweed (openSUSE): \< 2.9.11-1.1

## References

- <https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-gw9c-4wfm-vj3x>
- <https://github.com/owasp-modsecurity/ModSecurity/commit/ecd7b9736836eee391d25f35d5bd06a3ce35a45d>
- <https://ubuntu.com/security/CVE-2025-52891>
- <https://www.cve.org/CVERecord?id=CVE-2025-52891>
- <https://security-tracker.debian.org/tracker/CVE-2025-52891>
- <https://www.suse.com/security/cve/CVE-2025-52891>

---

Data as of 2026-12-05T07:16:11.629Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
