CVE-2025-52891: owasp-modsecurity modsecurity Improper Input Validation
Vulnerability summary
CVE-2025-52891 is a medium (CVSS 6.5) Improper Input Validation vulnerability in owasp-modsecurity modsecurity. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.6% of scored vulnerabilities.
Timeline
- 02-07-2025PublishedVulnerability first disclosed.
- 02-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
+0.02 pp
From 0.36% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- modsecurity-apache< 2.9.11-1
Opensuse1 product
- apache2-mod_security2&distro=openSUSE Tumbleweed< 2.9.11-1.1
Owasp-modsecurity1 product
- modsecurity≥ 2.9.8, < 2.9.11
Ubuntu1 product
- modsecurityAll versions (No fix recorded)
4 vendors · 4 products
References
6 links- github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-gw9c-4wfm-vj3xX Refsource CONFIRMREPORT
- github.com/owasp-modsecurity/ModSecurity/commit/ecd7b9736836eee391d25f35d5bd06a3ce35a45dX Refsource MISCREPORT