CVE-2025-52891: Modsecurity · In versions 2.9.8 to before 2.9.11, an empty XML tag can cause a segmentation fault
Affects modsecuritySource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 2.9.11 : update modsecurity when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.9.11
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10modsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10modsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-52891 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-52891 (opens in a new tab)
- github.com/owasp-modsecurity/ModSecurity/commit/ecd7b9736836eee391d25f35d5bd06a3ce35a45d (opens in a new tab)
- github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-gw9c-4wfm-vj3x (opens in a new tab)