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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2025-05-2122:15CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.0 | < 3.0.12 | 3.0.12 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.9 | < 2.9.9 | 2.9.9 | NVD · OSV |
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 ModSecurityAffected
- = <= 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
modsecurity: ModSecurity Has Possible DoS Vulnerability
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP1 security update
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP1 security update
Red Hat Security Advisory: mod_security security update
Red Hat Security Advisory: mod_security security update
Red Hat Security Advisory: mod_security security update
6 more advisories
Fix
- Update modsecurity to 3.0.12
- 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.
- 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
- 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
- github.comPatch
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-05-22
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01yel1337/CVE-2025-47947
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2025-05-22
- CNACVSS 3.17.5known since 2026-10-23
- CNAweakness (CWE)CWE-1050known since 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-12-04
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-62426same flawAzure Linux · MIT
- BIT-modsecurity-2025-47947same flawBitnami · Apache-2.0
- BIT-modsecurity2-2025-47947same flawBitnami · Apache-2.0
- EUVD-2025-16086same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-859r-vvv8-rm8rsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2025:8837advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:8844advisory covering several CVEsAlmaLinux · MIT
- DLA-4192-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5940-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0192advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1559advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1560advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1561advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1562advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1563advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15197-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2025:13680advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8605advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8626advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8627advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8674advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8837advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8844advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8917advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8922advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:8937advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:8837advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:8844advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2025:02028-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02029-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:02052-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7567-1advisory covering several CVEsUbuntu
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?
Is CVE-2025-47947 actively exploited?
What is the CVSS score for CVE-2025-47947?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-859r-vvv8-rm8r
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0