p PatchFirst

CVE-2025-47947

CVE-2025-47947 · ModSecurity Has Possible DoS Vulnerability

CVSS 7.5 · High · EPSS 0.6% · Public exploit · 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 up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.

Published
Updated

Fixes in distributions

  • RLSA-2025:8837 · Rocky Linux 9 ·
  • RHSA-2025:13680 · Red Hat jboss core services 1 el7, Red Hat jboss core services 1 el8 ·
  • RLSA-2025:8844 · Rocky Linux 8 ·
  • 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 ·
  • RHSA-2025:8937 · Red Hat rhel e4s 9.2 appstream ·
  • RHSA-2025:8922 · Red Hat rhel e4s 9.0 appstream ·
  • RHSA-2025:8917 · Red Hat rhel eus 9.4 appstream ·
  • RHSA-2025:8844 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2025:8837 · Red Hat Enterprise Linux 9 appstream ·
  • ALSA-2025:8837 · AlmaLinux 9 ·
  • ALSA-2025:8844 · AlmaLinux 8 ·
  • RHSA-2025:8674 · Red Hat rhel e4s 8.8 appstream, Red Hat rhel tus 8.8 appstream ·
  • RHSA-2025:8626 · Red Hat rhel aus 8.2 appstream ·
  • RHSA-2025:8627 · Red Hat rhel aus 8.4 appstream ·
  • DSA-5940-1 · Debian 12 ·
  • RHSA-2025:8605 · Red Hat rhel aus 8.6 appstream, Red Hat rhel e4s 8.6 appstream, Red Hat rhel tus 8.6 appstream ·
  • openSUSE-SU-2025:15197-1 · openSUSE Tumbleweed ·
  • DLA-4192-1 · Debian 11 ·

Stack: system

Affected products and versions

  • modsecurity

    Versions
    • <= 2.9.8: 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.9-1

    Update to 2.9.9-1

  • modsecurity-apache Debian 14

    Affected ranges
    • ECOSYSTEM: < 2.9.9-1

    Update to 2.9.9-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

Original sources

Check your server →