FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

ModSecurity -- empty XML tag causes segmentation fault

Affected packages
ap24-mod_security < 2.9.11

Details

VuXML ID c0f3f54c-5bc4-11f0-834f-b42e991fc52e
Discovery 2025-07-02
Entry 2025-07-08

security-advisories@github.com reports:

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

CVE Name CVE-2025-52891
URL https://nvd.nist.gov/vuln/detail/CVE-2025-52891