CVEfocus › CVE database › CVE-2025-47947

CVE-2025-47947ModSecurity Has Possible DoS Vulnerability

CVSS 7.5 HighEPSS 0.8% (higher than 53% of CVEs)Published 2025-05-21Updated 2025-05-22Assigner: GitHub_M

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.

CWE-1050

What to do

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

Ubuntu has 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

13Fixed
6Fix pending
10Not 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.04modsecurityNot affected
vulnerable_code_not_present
Ubuntu 26.04modsecurity-apacheNot affected
vulnerable_code_not_present
Ubuntu 25.10modsecurityNot affected
vulnerable_code_not_present
Ubuntu 25.10modsecurity-apacheNot affected
vulnerable_code_not_present
Ubuntu 24.04modsecurityNot affected
vulnerable_code_not_present
Ubuntu 24.04modsecurity-apacheFix pending2.9.7-1ubuntu0.24.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-47947
Ubuntu 22.04modsecurityNot affected
vulnerable_code_not_present
Ubuntu 22.04modsecurity-apacheFix pending2.9.5-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-47947
Ubuntu 20.04modsecurityNot affected
vulnerable_code_not_present
Ubuntu 20.04modsecurity-apacheFix pending2.9.3-1ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-47947
Ubuntu 18.04modsecurity-apacheFix pending2.9.2-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-47947
Ubuntu 16.04modsecurity-apacheFix pending2.9.0-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-47947
Ubuntu 14.04modsecurity-apacheFix pending2.7.7-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-47947
Debian 14modsecurity-apacheFixed2.9.9-1DEBIAN-CVE-2025-47947
Debian 13modsecurity-apacheFixed2.9.9-1DEBIAN-CVE-2025-47947
Debian 12modsecurity-apacheFixed2.9.7-1+deb12u1DEBIAN-CVE-2025-47947
Red Hat Enterprise Linux 9mod_securityFixed0:2.9.6-2.el9_6RHSA-2025:8837
Red Hat Enterprise Linux 9mod_security-mlogcFixed0:2.9.6-2.el9_6RHSA-2025:8837
Red Hat Enterprise Linux 9mod_security_crsNot affected
Red Hat Enterprise Linux 8mod_securityFixed0:2.9.6-2.el8_10RHSA-2025:8844
Red Hat Enterprise Linux 8mod_security-mlogcFixed0:2.9.6-2.el8_10RHSA-2025:8844
Red Hat Enterprise Linux 8mod_security_crsNot affected
Red Hat Enterprise Linux 7mod_security_crsNot affected
AlmaLinux 9mod_securityFixed2.9.6-2.el9_6ALSA-2025:8837
AlmaLinux 9mod_security-mlogcFixed2.9.6-2.el9_6ALSA-2025:8837
AlmaLinux 8mod_securityFixed2.9.6-2.el8_10ALSA-2025:8844
AlmaLinux 8mod_security-mlogcFixed2.9.6-2.el8_10ALSA-2025:8844
Rocky Linux 9mod_securityFixed0:2.9.6-2.el9_6RLSA-2025:8837
Rocky Linux 8mod_securityFixed0:2.9.6-2.el8_10RLSA-2025:8844

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.