CVE-2025-48866
ModSecurity has possible DoS vulnerability in sanitiseArg action
A public proof of concept exists; no exploitation attested.
- Published2025-06-02
- 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 prior to 2.9.10 contain a denial of service vulnerability similar to GHSA-859r-vvv8-rm8r/CVE-2025-47947. The `sanitiseArg` (and `sanitizeArg` - this is the same action but an alias) is vulnerable to adding an excessive number of arguments, thereby leading to denial of service. Version 2.9.10 fixes the issue. As a workaround, avoid using rules that contain the `sanitiseArg` (or `sanitizeArg`) action.
Timeline
dates in UTC- 2025-06-0216: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.10 | 2.9.10 | 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.10no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-06-02
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
37 more package ranges on OSV.dev
Vendor advisories
mod_security: ModSecurity Denial of Service Vulnerability
mod_security-mlogc as a component of Red Hat Enterprise Linux 7 · mod_security.src as a component of Red Hat Enterprise Linux 7 · mod_security as a component of Red Hat Enterprise Linux 8 · +3 more
Red Hat Security Advisory: mod_security 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
Fix
- Update modsecurity to 3.0.12
- Vendor fix Red Hat Product Security RHSA-2025:13775 · 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
- Workaround from the vendor Red Hat Product Security RHSA-2025:13775 · 21 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix available, says the vendor Red Hat Product Security CVE-2025-48866 · 6 productsFix deferred
Advisories and patches
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-06-02
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- AZL-62229same flawAzure Linux · MIT
- AZL-62231same flawAzure Linux · MIT
- BIT-modsecurity-2025-48866same flawBitnami · Apache-2.0
- BIT-modsecurity2-2025-48866same flawBitnami · Apache-2.0
- EUVD-2025-16670same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- DLA-4212-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5940-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2025-0192advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1676advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1750advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15197-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2025:12838advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:13670advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:13716advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:13775advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:12838advisory 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-06-02
- Last modified
- 2026-06-17
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2025-48866?
Is CVE-2025-48866 actively exploited?
What is the CVSS score for CVE-2025-48866?
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)
- 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
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0