Skip to main content
Public proof of conceptFix available

CVE-2025-47947

ModSecurity Has Possible DoS Vulnerability

A public proof of concept exists; no exploitation attested.

  • Published2025-05-21
  • Fixed in3.0.12
  • WeaknessCWE-1050

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2025-05-2122:15CVE publishedNVD

Versions per branch

OSV · NVD
modsecurity
BranchAffectedFixed in
3.0< 3.0.123.0.12
Trustwave modsecurity
BranchAffectedFixed in
2.9< 2.9.92.9.9

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • owasp-modsecurity ModSecurity
    Affected
    • = <= 2.9.8no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-05-21

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • apache-mod_securityMageia:9all versions · fixed in 2.9.7-1.1.mga9
  • apache2-mod_security2SUSE:Manager Server 4.3all versions · fixed in 2.9.4-150400.3.9.1
  • apache2-mod_security2SUSE:Manager Proxy 4.3all versions · fixed in 2.9.4-150400.3.9.1
  • apache2-mod_security2SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5all versions · fixed in 2.8.0-7.9.1
  • apache2-mod_security2SUSE:Linux Enterprise Server for SAP Applications 15 SP5all versions · fixed in 2.9.4-150400.3.9.1
  • apache2-mod_security2SUSE:Linux Enterprise Server for SAP Applications 15 SP4all versions · fixed in 2.9.4-150400.3.9.1
  • apache2-mod_security2SUSE:Linux Enterprise Server for SAP Applications 15 SP3all versions · fixed in 2.9.2-150000.3.12.1
  • apache2-mod_security2SUSE:Linux Enterprise Server 15 SP5-LTSSall versions · fixed in 2.9.4-150400.3.9.1

60 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-47947 Red Hat Product Security225 products fixed

    modsecurity: ModSecurity Has Possible DoS Vulnerability

  • RHSA-2025:13681 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP1 security update

  • RHSA-2025:13680 Red Hat Product Security57 products fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP1 security update

  • RHSA-2025:8937 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: mod_security security update

  • RHSA-2025:8917 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: mod_security security update

  • RHSA-2025:8922 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: mod_security security update

6 more advisories

Full record on NVD

Fix

  1. Update modsecurity to 3.0.12
  2. Vendor fix Red Hat Product Security RHSA-2025:13681 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link. You must be logged in to download the update.
  3. Vendor fix Red Hat Product Security RHSA-2025:13680 · 57 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2025:8937 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2025-05-21
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-859r-vvv8-rm8r

Frequently asked questions

What is CVE-2025-47947?

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.

Is CVE-2025-47947 actively exploited?

A proof-of-concept exploit exists for CVE-2025-47947, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-47947?

CVE-2025-47947 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running modsecurity? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record