VDB

CVE-2025-48866

CVE-2025-48866 PUBLISHED CVSS 7.5 HIGH

ModSecurity has possible DoS vulnerability in sanitiseArg action

Reported by github_m · Published June 2, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
modsecurity2Bitnami2.9.10
modsecurityBitnami3.0.12
mod_securityAmazon Linux2.9.10-1.amzn2023.0.1
modsecurityBitnami3.0.12
modsecurity2Bitnami2.9.10
modsecurityowasp2.9.10

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
owasp-modsecurityModSecurity< 2.9.10
amazon:2023mod_security0
amazon:2023mod_security-mlogc0
amazon:2mod_security0
amazon:2mod_security-mlogc0
owasp-modsecurityModSecurity0

Timeline

  • Jun 2, 2025 CVE Published
  • Jun 2, 2025 PoC Published (5 in total, the first dated here)
  • Jun 3, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 3, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Jun 9, 2025 CVE Updated
  • Dec 12, 2025 Security Advisory (7 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-48866
vulnetix vdb fixes CVE-2025-48866

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-48866/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›