CVE-2025-47947
Trustwave Modsecurity ≤ 2.9.9
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-47947 is a high-severity Excessive Platform Resource Consumption within a Loop (CWE-1050) vulnerability in Trustwave Modsecurity. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 50% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-6 (Resource Availability) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-16086
Vulnerability Data
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…
more
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(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 2 hardening rules · 2 OS baselines
V2.4.1V7.6.2V15.4.3
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
SA-11 developer testing can discover loops that consume platform resources before deployment.
SC-6 directly protects resource availability by enforcing allocation limits that bound consumption from faulty loops.
AC-10 caps concurrent sessions, reducing blast radius when a loop consumes session or connection resources.
SC-5 limits effects of DoS events that can result from unbounded resource consumption inside loops.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Runtime monitoring can detect excessive resource use from loops as an adverse event.
Capacity monitoring and resource management directly limit impact of runaway consumption.
Secure SDLC practices can prevent introduction of unbounded loops during development.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Monitoring can alert on resource abuse but does not eliminate the coding flaw.
Security testing can discover the defect but does not remove it from production code.
Training technical teams on secure coding and resource management (per A.6.3's education/training guidance) helps some developers avoid loops that exhaust platform resources, but the practice is fallible and most awareness content targets broader security responsibilities rather than this specific implementation defect, leaving the majority of instances to arise.
Secure coding standards explicitly forbid resource-consuming loops.
A.8.30 is a contractual/governance layer that requires the outsourced developer to implement secure coding (8.25-8.28) and acceptance testing (8.29); it does not itself implement those practices, so per the governance-boundary doctrine (A.5.1 -> CWE-89 = none), a clause requiring other controls does not inherit their preventive effect on a coding defect like excessive loop resource consumption.
A.8.8's disclosure-based vulnerability management surfaces CWE-1050 only when it appears as a vendor-published CVE/advisory in an inventoried third-party component, leaving most first-party custom loop-resource defects undisclosed.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.
Oracle Linux 9 (1 partial rule)
- V-271709 OL 9 must be configured so that all network connections associated with SSH traffic terminate after becoming unresponsive. blocks CWE-1050
RHEL 9 (1 partial rule)
- V-257995 RHEL 9 must be configured so that all network connections associated with SSH traffic terminate after becoming unresponsive. blocks CWE-1050