CVE-2025-52891 MEDIUM

CVE-2025-52891: ModSecurity empty XML tag causes segmentation fault

Vendor Owasp-Modsecurity
Product ModSecurity
Weakness CWE-20 · Input validation
Published July 2, 2025
Last update July 2, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 2, 2025 CVE published
July 2, 2025 Record updated