Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2025-52891· Medium 6.5

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

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10modsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=stonkingOther threatsAffected
  • =3.0.14-1build2
  • =3.0.15-1
  • =3.0.16-1
Fixed in–
Ubuntu 26.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=resoluteOther threatsAffected
  • =3.0.14-1build1
  • =3.0.14-1build2
Fixed in–
Ubuntu 25.10modsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=questingOther threatsAffected
  • =3.0.13-1
  • =3.0.14-1
  • =3.0.14-1build1
Fixed in–
Ubuntu 24.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=nobleOther threatsAffected
  • 3.0.10-1 – 3.0.12-1.1build2
5 affected builds
Fixed in–
Ubuntu 22.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=jammyOther threatsAffected
  • =3.0.4-2
  • =3.0.6-1
Fixed in–
Ubuntu 20.04 LTSmodsecuritypkg:deb/ubuntu/modsecurity?arch=source&distro=focalOther threatsAffected
  • =3.0.3-1
  • =3.0.4-1
  • =3.0.4-1build1
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

Community reviews

Loading reviews…