p PatchFirst

CVE-2025-48866

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

CVSS 7.5 · High · EPSS 0.9% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="modsecurity-apache"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RLSA-2025:12838 · Rocky Linux 9 ·
  • RHSA-2025:13716 · Red Hat rhel e4s 9.0 appstream ·
  • RHSA-2025:13775 · Red Hat rhel e4s 9.2 appstream ·
  • RHSA-2025:13670 · Red Hat rhel eus 9.4 appstream ·
  • RHSA-2025:12838 · Red Hat Enterprise Linux 9 appstream ·
  • SUSE-SU-2025:02052-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • SUSE-SU-2025:02029-1 · SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3 ·
  • SUSE-SU-2025:02028-1 · openSUSE Leap 15.6, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Server Applications 15 SP6, SUSE Linux Enterprise Module for Server Applications 15 SP7, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
  • USN-7567-1 · Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS ·
  • DLA-4212-1 · Debian 11 ·
  • DSA-5940-1 · Debian 12 ·
  • openSUSE-SU-2025:15197-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • modsecurity

    Versions
    • < 2.9.10: Affected

    No fix published

  • modsecurity-apache Debian 12

    Versions
    • 2.9.7-1
    Affected ranges
    • ECOSYSTEM: < 2.9.7-1+deb12u1

    Update to 2.9.7-1+deb12u1

  • modsecurity-apache Debian 13

    Affected ranges
    • ECOSYSTEM: < 2.9.10-1

    Update to 2.9.10-1

  • modsecurity-apache Debian 14

    Affected ranges
    • ECOSYSTEM: < 2.9.10-1

    Update to 2.9.10-1

  • modsecurity-apache Ubuntu Pro 14.04 LTS

    Versions
    • 2.7.4-1
    • 2.7.5-1
    • 2.7.7-1
    • 2.7.7-1ubuntu1
    • 2.7.7-2
    • 2.7.7-2ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 2.7.7-2ubuntu0.1~esm2

    Update to 2.7.7-2ubuntu0.1~esm2

  • modsecurity-apache Ubuntu Pro 16.04 LTS

    Versions
    • 2.9.0-1
    • 2.9.0-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 2.9.0-1ubuntu0.1~esm2

    Update to 2.9.0-1ubuntu0.1~esm2

  • modsecurity-apache Ubuntu Pro 18.04 LTS

    Versions
    • 2.9.1-3
    • 2.9.2-1
    • 2.9.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 2.9.2-1ubuntu0.1~esm2

    Update to 2.9.2-1ubuntu0.1~esm2

  • modsecurity-apache Ubuntu Pro 20.04 LTS

    Versions
    • 2.9.3-1
    • 2.9.3-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 2.9.3-1ubuntu0.1+esm1

    Update to 2.9.3-1ubuntu0.1+esm1

  • modsecurity-apache Ubuntu Pro 22.04 LTS

    Versions
    • 2.9.3-3
    • 2.9.5-1
    • 2.9.5-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 2.9.5-1ubuntu0.1~esm2

    Update to 2.9.5-1ubuntu0.1~esm2

  • modsecurity-apache Ubuntu Pro 24.04 LTS

    Versions
    • 2.9.7-1
    • 2.9.7-1build2
    • 2.9.7-1build3
    Affected ranges
    • ECOSYSTEM: < 2.9.7-1ubuntu0.24.04.1~esm1

    Update to 2.9.7-1ubuntu0.24.04.1~esm1

  • modsecurity-apache Ubuntu 25.10

    Versions
    • 2.9.8-1.1
    • 2.9.9-1
    • 2.9.9-1ubuntu1
    • 2.9.12-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →