CVE catalog

CVE-2025-52891

modsecurity-apache: CVE-2025-52891

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianmodsecurity-apachesid2.9.13-1fixed
Debianmodsecurity-apacheforky2.9.13-1fixed
Debianmodsecurity-apachetrixie2.9.11-1+deb13u1fixed
Debianmodsecurity-apachebookworm2.9.7-1+deb12u2not affected
Debianmodsecurity-apachebookworm-security2.9.7-1+deb12u1not affected
Opensuseapache2-mod_security2tumbleweed2.9.11-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmodsecurity-apachesourcesid2.9.11-1not yet assignedNot reported[1108715]
Debianmodsecurity-apachesourceforky2.9.11-1not yet assignedNot reported[1108715]
Debianmodsecurity-apachesourcetrixie2.9.11-1not yet assignedNot reported[1108715]
Debianmodsecurity-apachesourcebookwormNot affectedunimportantNot reported[1108715]
Opensuseapache2-mod_security2rpmtumbleweed2.9.11-1.1Not reportedOPENSUSE-SU-2025:15313-1Not reported

[Debian bug #1108715]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [modsecurity-apache]

    Details (4)
    • 2.9.7-1+deb12u2 · amd64 · bookworm

      Not affected

      dsa · modsecurity-apache · debian · bookworm

    • 2.9.7-1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · modsecurity-apache · debian · bookworm

    • 2.9.7-1+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · modsecurity-apache · debian · bookworm

    • 2.9.7-1+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · modsecurity-apache · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [modsecurity-apache]

    Details (2)
    • 2.9.11-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 2.9.11-1

      dsa · modsecurity-apache · debian · 13

    • 2.9.11-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 2.9.11-1

      dsa · modsecurity-apache · debian · 13

[openSUSE Tumbleweed]

Observed:

References