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.06% (18th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-MODSECURITYAPACHE-10587025
  • published3 Jul 2025
  • disclosed2 Jul 2025

Introduced: 2 Jul 2025

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

How to fix?

Upgrade Debian:unstable 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 Debian. See How to fix? for Debian:unstable 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