Skip to content
OpenAdvisories
High · 7.5 CVE-2025-48866 EUVD-2025-16670

ModSecurity has possible DoS vulnerability in sanitiseArg action

Published Jun 2, 2025 · Updated Jun 9, 2025 · Assigned by GitHub_M

Description

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions prior to 2.9.10 contain a denial of service vulnerability similar to GHSA-859r-vvv8-rm8r/CVE-2025-47947. The `sanitiseArg` (and `sanitizeArg` - this is the same action but an alias) is vulnerable to adding an excessive number of arguments, thereby leading to denial of service. Version 2.9.10 fixes the issue. As a workaround, avoid using rules that contain the `sanitiseArg` (or `sanitizeArg`) action.

Affected products

VendorProductAffectedFixed
owasp-modsecurity ModSecurity < 2.9.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 modsecurity-apache 2.9.10-1 —
Debian 13 modsecurity-apache 2.9.10-1 —
Debian 12 modsecurity-apache 2.9.7-1+deb12u1 DSA-5940-1
Debian 11 modsecurity-apache 2.9.3-3+deb11u4 DLA-4212-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 modsecurity-apache No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS modsecurity-apache 2.9.7-1ubuntu0.24.04.1~esm1 USN-7567-1
Ubuntu Pro 22.04 LTS modsecurity-apache 2.9.5-1ubuntu0.1~esm2 USN-7567-1
Ubuntu Pro 20.04 LTS modsecurity-apache 2.9.3-1ubuntu0.1+esm1 USN-7567-1
Ubuntu Pro 18.04 LTS modsecurity-apache 2.9.2-1ubuntu0.1~esm2 USN-7567-1
Ubuntu Pro 16.04 LTS modsecurity-apache 2.9.0-1ubuntu0.1~esm2 USN-7567-1
Ubuntu Pro 14.04 LTS modsecurity-apache 2.7.7-2ubuntu0.1~esm2 USN-7567-1
ReleasePackageFixed inAdvisory
RHEL 9 mod_security +1 2.9.6-2.el9_6.1 RHSA-2025:12838
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS mod_security +1 2.9.6-1.el9_4.2 RHSA-2025:13670
RHEL 9.2 E4S mod_security +1 2.9.6-1.el9_2.2 RHSA-2025:13775
RHEL 9.0 E4S mod_security +1 2.9.3-12.el9_0.2 RHSA-2025:13716

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 mod_security 2.9.6-2.el9_6.1 RLSA-2025:12838
ReleasePackageFixed inAdvisory
SLES 15 SP7 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLES 15 SP6 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLES 15 SP5 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLES 15 SP4 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLES 15 SP3 apache2-mod_security2 2.9.2-150000.3.12.1 SUSE-SU-2025:02029-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 apache2-mod_security2 2.8.0-7.9.1 SUSE-SU-2025:02052-1
SLES for SAP 15 SP5 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLES for SAP 15 SP4 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLES for SAP 15 SP3 apache2-mod_security2 2.9.2-150000.3.12.1 SUSE-SU-2025:02029-1
SLE HPC 15 SP5 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLE HPC 15 SP4 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SLE HPC 15 SP3 apache2-mod_security2 2.9.2-150000.3.12.1 SUSE-SU-2025:02029-1
SUSE Manager Server 4.3 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SUSE Manager Proxy 4.3 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1
SUSE Enterprise Storage 7.1 apache2-mod_security2 2.9.2-150000.3.12.1 SUSE-SU-2025:02029-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2-mod_security2 2.9.10-1.1 openSUSE-SU-2025:15197-1
openSUSE Leap 15.6 apache2-mod_security2 2.9.4-150400.3.9.1 SUSE-SU-2025:02028-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 mod_security +1 2.9.10-1.amzn2023.0.1 ALAS2023-2025-1026
Amazon Linux 2 mod_security +1 2.9.10-1.amzn2.0.1 ALAS2-2025-2887

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 mod_security No fix yet —
Azure Linux 2 (CBL-Mariner) mod_security No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 mod_security +1 2.9.6-2.el9_6.1 ELSA-2025-12838

Advisories 16

References