Buffer overflow in ModSecurity - CVE-2025-52891
Published: July 2, 2025 / Updated: July 2, 2025
ModSecurity
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error when processing XML data with an empty XML tag. A remote attacker can send specially crafted XML data to the web application protected with ModSecurity, trigger memory corruption and perform a denial of service (DoS) attack.
Note, the vulnerability affects installations with SecParseXmlIntoArgs set to "On" or "OnlyArgs", which is not the default configuration.