CVE-2025-52891
published 2025-07-02CVE-2025-52891: 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…
PriorityP429medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
0.35%
26.5th percentile
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 ), then a segmentation fault occurs. This issue has been patched in version 2.9.11. A workaround involves setting SecParseXmlIntoArgs to Off.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | modsecurity-apache | < modsecurity-apache 2.9.11-1 (forky) | modsecurity-apache 2.9.11-1 (forky) |
| owasp-modsecurity | modsecurity | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
mod_security: ModSecurity segmentation fault
vendor_redhat·2025-07-02·CVSS 6.5
CVE-2025-52891 [MEDIUM] CWE-20 mod_security: ModSecurity segmentation fault
mod_security: ModSecurity segmentation fault
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 ), then a segmentation fault occurs. This issue has been patched in version 2.9.11. A workaround involves setting SecParseXmlIntoArgs to Off.
An XML parsing flaw has been discovered in Apache ModSecurity. In specific versions an empty XML tag may lead to a segmentation fault and process crash as a result. To exploit this flaw the `SecParseXmlIntoArgs` value must be set to `On` or `OnlyArgs`.
Mitigation: Users unable to upgra
Debian
CVE-2025-52891: modsecurity-apache - ModSecurity is an open source, cross platform web application firewall (WAF) eng...
vendor_debian·2025·CVSS 6.5
CVE-2025-52891 [MEDIUM] CVE-2025-52891: modsecurity-apache - ModSecurity is an open source, cross platform web application firewall (WAF) eng...
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 ), then a segmentation fault occurs. This issue has been patched in version 2.9.11. A workaround involves setting SecParseXmlIntoArgs to Off.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 2.9.11-1)
sid: resolved (fixed in 2.9.11-1)
trixie: resolved (fixed in 2.9.11-1)
OSV
CVE-2025-52891: ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx
osv·2025-07-02·CVSS 6.5
CVE-2025-52891 [MEDIUM] CVE-2025-52891: ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx
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 ), then a segmentation fault occurs. This issue has been patched in version 2.9.11. A workaround involves setting SecParseXmlIntoArgs to Off.
No detection rules found.
No public exploits indexed.
2025-07-02
Published