Improper Input Validation Affecting modsecurity-apache package, versions <2.9.11-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.4% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-MODSECURITYAPACHE-22554513
  • published15 Nov 2026
  • disclosed2 Jul 2025

Introduced: 2 Jul 2025

CVE-2025-52891  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Echo:latest modsecurity-apache to version 2.9.11-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream modsecurity-apache package and not the modsecurity-apache package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1