Resource exhaustion in ModSecurity - CVE-2025-48866
Published: June 2, 2025
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources within the sanitiseArg action. A remote attacker can send an HTTP request containing a large number of arguments, trigger resource exhaustion and perform a denial of service (DoS) attack.
Affected software
Debian Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Ubuntu
Server Applications Module
openSUSE Leap
openEuler
EasyApache
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
modsecurity-apache (Ubuntu package)
apache2-mod_security2
apache2-mod_security2-debuginfo
apache2-mod_security2-debugsource
security (Red Hat package)
modsecurity-apache (Debian package)
mod_security
mod_security-debuginfo
mod_security-debugsource
How to mitigate CVE-2025-48866
EasyApache - update to 4 25-18
modsecurity-apache (Ubuntu package) - addressed in versions 2.7.7-2ubuntu0.1~esm2, 2.9.0-1ubuntu0.1~esm2, 2.9.2-1ubuntu0.1~esm2, 2.9.3-1ubuntu0.1+esm1, 2.9.5-1ubuntu0.1~esm2, 2.9.7-1ubuntu0.24.04.1~esm1, 2.9.7-1ubuntu0.24.10.1, 2.9.8-1.1ubuntu0.1
apache2-mod_security2 - addressed in versions 2.8.0-7.9.1, 2.9.2-150000.3.12.1, 2.9.4-150400.3.9.1
apache2-mod_security2-debuginfo - addressed in versions 2.8.0-7.9.1, 2.9.2-150000.3.12.1, 2.9.4-150400.3.9.1
apache2-mod_security2-debugsource - addressed in versions 2.8.0-7.9.1, 2.9.2-150000.3.12.1, 2.9.4-150400.3.9.1
security (Red Hat package) - addressed in versions 2.9.3-12.el9_0.2, 2.9.6-1.el9_2.2, 2.9.6-1.el9_4.2
modsecurity-apache (Debian package) - update to 2.9.7-1+deb12u1
mod_security - addressed in versions 2.9.9-2, 2.9.11-1
mod_security-debuginfo - addressed in versions 2.9.9-2, 2.9.11-1
mod_security-debugsource - addressed in versions 2.9.9-2, 2.9.11-1
External References
- https://github.com/owasp-modsecurity/ModSecurity/commit/3a54ccea62d3f7151bb08cb78d60c5e90b53ca2e
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-859r-vvv8-rm8r
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-f82j-8pp7-cw2w
- https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v2.x)#sanitisearg
Related Security Bulletins
- Remote denial of service in ModSecurity
- cPanel EasyApache4 update for third-party components
- Debian update for modsecurity-apache
- Ubuntu update for modsecurity-apache
- SUSE update for apache2-mod_security2
- SUSE update for apache2-mod_security2
- SUSE update for apache2-mod_security2
- openEuler update for mod_security
- openEuler 24.03 LTS SP2 update for mod_security
- Red Hat Enterprise Linux 9 update for mod_security
- Red Hat Enterprise Linux 9 update for mod_security
- Red Hat Enterprise Linux 9 update for mod_security