CVEfocus › CVE database › CVE-2025-48866

CVE-2025-48866ModSecurity has possible DoS vulnerability in sanitiseArg action

CVSS 7.5 HighEPSS 0.9% (higher than 59% of CVEs)Published 2025-06-02Updated 2025-06-09Assigner: GitHub_M

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.

CWE-1050

What to do

Fixed builds are available from Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
10Fix pending
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04modsecurity-apacheNot affected
vulnerable_code_not_present
Ubuntu 25.10modsecurity-apacheWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-48866
Ubuntu 24.04modsecurity-apacheFix pending2.9.7-1ubuntu0.24.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-48866
Ubuntu 22.04modsecurity-apacheFix pending2.9.5-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-48866
Ubuntu 20.04modsecurity-apacheFix pending2.9.3-1ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-48866
Ubuntu 18.04modsecurity-apacheFix pending2.9.2-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-48866
Ubuntu 16.04modsecurity-apacheFix pending2.9.0-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-48866
Ubuntu 14.04modsecurity-apacheFix pending2.7.7-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-48866
Debian 14modsecurity-apacheFixed2.9.10-1DEBIAN-CVE-2025-48866
Debian 13modsecurity-apacheFixed2.9.10-1DEBIAN-CVE-2025-48866
Debian 12modsecurity-apacheFixed2.9.7-1+deb12u1DEBIAN-CVE-2025-48866
Red Hat Enterprise Linux 9mod_securityFixed0:2.9.6-2.el9_6.1RHSA-2025:12838
Red Hat Enterprise Linux 9mod_security-mlogcFixed0:2.9.6-2.el9_6.1RHSA-2025:12838
Red Hat Enterprise Linux 8mod_securityFix pending
Fix deferred
Red Hat Enterprise Linux 8mod_security-mlogcFix pending
Fix deferred
Red Hat Enterprise Linux 7mod_securityFix pending
Fix deferred
Red Hat Enterprise Linux 7mod_security-mlogcFix pending
Fix deferred
Rocky Linux 9mod_securityFixed0:2.9.6-2.el9_6.1RLSA-2025:12838

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.