CVE-2025-52891

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-52891
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52891.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-52891
Aliases
Related
Published
2025-07-02T15:15:27Z
Modified
2025-07-05T05:47:59.425781Z
Summary
[none]
Details

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

Affected packages

Debian:13 / modsecurity-apache

Package

Name
modsecurity-apache
Purl
pkg:deb/debian/modsecurity-apache?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.11-1

Affected versions

2.*

2.9.7-1
2.9.8-1
2.9.8-1.1
2.9.9-1
2.9.10-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/owasp-modsecurity/modsecurity

Affected ranges

Type
GIT
Repo
https://github.com/owasp-modsecurity/modsecurity
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.7.2
v2.7.3
v2.7.4
v2.7.5
v2.7.6
v2.7.7
v2.9.0
v2.9.0-rc1
v2.9.0-rc2
v2.9.1
v2.9.1-rc1
v2.9.10
v2.9.2
v2.9.3
v2.9.4
v2.9.5
v2.9.6
v2.9.7
v2.9.8
v2.9.9