cve.bz

CVE-2025-47947 trustwave modsecurity

7.5 highExploit referenceEPSS 0.6%Fix available

High (7.5) in trustwave modsecurity. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1050 Excessive Platform Resource Consumption within a Loop
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-47947 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-47947?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-47947?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-47947 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
trustwave:modsecuritybefore 2.9.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11modsecurity-apache2.9.3-3+deb11u3DLA-4192-1
Debian12modsecurity-apache2.9.7-1+deb12u1DEBIAN-CVE-2025-47947 DSA-5940-1
Debian13, 14modsecurity-apache2.9.9-1DEBIAN-CVE-2025-47947
UbuntuPro:14.04:LTSmodsecurity-apache2.7.7-2ubuntu0.1~esm2UBUNTU-CVE-2025-47947 USN-7567-1
UbuntuPro:16.04:LTSmodsecurity-apache2.9.0-1ubuntu0.1~esm2UBUNTU-CVE-2025-47947 USN-7567-1
UbuntuPro:18.04:LTSmodsecurity-apache2.9.2-1ubuntu0.1~esm2UBUNTU-CVE-2025-47947 USN-7567-1
UbuntuPro:20.04:LTSmodsecurity-apache2.9.3-1ubuntu0.1+esm1UBUNTU-CVE-2025-47947 USN-7567-1
UbuntuPro:22.04:LTSmodsecurity-apache2.9.5-1ubuntu0.1~esm2UBUNTU-CVE-2025-47947 USN-7567-1
UbuntuPro:24.04:LTSmodsecurity-apache2.9.7-1ubuntu0.24.04.1~esm1UBUNTU-CVE-2025-47947 USN-7567-1
Red Hatenterprise_linux:8::appstreammod_security, mod_security-mlogc, mod_security-debuginfo and 2 more0:2.9.6-2.el8_10RHSA-2025:8844
Red Hatenterprise_linux:9::appstreammod_security, mod_security-mlogc, mod_security-debuginfo and 2 more0:2.9.6-2.el9_6RHSA-2025:8837
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.62-8.el7jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:2.0.29-5.el7jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-debuginfo0:1.2.50-9.redhat_1.el7jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo1:2.4.28-10.el7jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_proxy_cluster, jbcs-httpd24-mod_proxy_cluster-debuginfo0:1.3.22-4.el7jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.6-11.el7jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.62-8.el7jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.62-8.el8jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:2.0.29-5.el8jbcsRHSA-2025:13680
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-ap24-debuginfo0:1.2.50-9.redhat_1.el8jbcsRHSA-2025:13680
11 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 moreapache2-mod_security22.9.2-150000.3.12.1SUSE-SU-2025:02029-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 moreapache2-mod_security22.9.4-150400.3.9.1SUSE-SU-2025:02028-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5apache2-mod_security22.8.0-7.9.1SUSE-SU-2025:02052-1
openSUSELeap 15.6apache2-mod_security22.9.4-150400.3.9.1SUSE-SU-2025:02028-1
openSUSETumbleweedapache2-mod_security22.9.10-1.1openSUSE-SU-2025:15197-1
AlmaLinux8mod_security, mod_security-mlogc2.9.6-2.el8_10ALSA-2025:8844
AlmaLinux9mod_security, mod_security-mlogc2.9.6-2.el9_6ALSA-2025:8837
Rocky Linux8mod_security0:2.9.6-2.el8_10RLSA-2025:8844
Rocky Linux9mod_security0:2.9.6-2.el9_6RLSA-2025:8837
Azure Linux3mod_securityno fix listedAZL-62426

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.62-8.el8jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services for RHEL 8jbcs-httpd24-mod_http2-0:2.0.29-5.el8jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services for RHEL 8jbcs-httpd24-mod_jk-0:1.2.50-9.redhat_1.el8jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services for RHEL 8jbcs-httpd24-mod_md-1:2.4.28-10.el8jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services for RHEL 8jbcs-httpd24-mod_proxy_cluster-0:1.3.22-4.el8jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services for RHEL 8jbcs-httpd24-mod_security-0:2.9.6-11.el8jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.62-8.el7jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services on RHEL 7jbcs-httpd24-mod_http2-0:2.0.29-5.el7jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services on RHEL 7jbcs-httpd24-mod_jk-0:1.2.50-9.redhat_1.el7jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services on RHEL 7jbcs-httpd24-mod_md-1:2.4.28-10.el7jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services on RHEL 7jbcs-httpd24-mod_proxy_cluster-0:1.3.22-4.el7jbcsFixed 2025-08-14RHSA-2025:13680
JBoss Core Services on RHEL 7jbcs-httpd24-mod_security-0:2.9.6-11.el7jbcsFixed 2025-08-14RHSA-2025:13680
Red Hat Enterprise Linux 8mod_security-0:2.9.6-2.el8_10Fixed 2025-06-11RHSA-2025:8844
Red Hat Enterprise Linux 8.2 Advanced Update Supportmod_security-0:2.9.2-8.el8_2.1Fixed 2025-06-09RHSA-2025:8626
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmod_security-0:2.9.2-9.el8_4.1Fixed 2025-06-09RHSA-2025:8627
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportmod_security-0:2.9.2-9.el8_6.1Fixed 2025-06-05RHSA-2025:8605
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicemod_security-0:2.9.2-9.el8_6.1Fixed 2025-06-05RHSA-2025:8605
Red Hat Enterprise Linux 7mod_security_crsNot affected
Red Hat Enterprise Linux 8mod_security_crsNot affected
Red Hat Enterprise Linux 9mod_security_crsNot affected
8 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-47947.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

References

Check your stackJSON