CVE-2026-103932

ModSecurity: PCRE2 `@rxGlobal` match-limit errors are converted to no-match

Published Nov 5, 2026 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.5 until 3.0.17, the PCRE2 implementation of @rxGlobal in src/utils/regex.cc converts pcre2_match match-limit errors into an ordinary no-match result instead of propagating a non-OK RegexResult. When attacker-controlled input exhausts SecPcreMatchLimit, rules that rely on MSC_PCRE_LIMITS_EXCEEDED or its TX compatibility indicator do not run, so a request that should be rejected can pass through the WAF. The issue affects PCRE2 deployments that use @rxGlobal with a limit-exhaustible expression and a compensating rule; it is not a universal WAF bypass. This issue is fixed in version 3.0.17.

Analysis

AI-generated

Technical impact

The flaw in ModSecurity’s PCRE2 @rxGlobal causes match‑limit errors to be silently treated as no match instead of reporting failure. This deficiency corresponds to CWE-253 and CWE-393 weaknesses. When an attacker supplies input that exceeds SecPcreMatchLimit, rules that depend on the limit‑exceeded indicator are skipped, letting a request that should be blocked pass through the WAF. This compromises the integrity and availability of the protected web application.

Affected Systems

OWASP ModSecurity version 3.0.5 through 3.0.17 deployed on Apache, IIS, or Nginx. All builds that use the PCRE2 @rxGlobal operator with a limit‑exhaustible expression are affected.

Risk and Exploitability

The CVSS score of 5.8 reflects moderate severity. The EPSS score is unknown, and the vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit it remotely by sending crafted HTTP requests that trigger the match‑limit, thereby bypassing WAF rules. Escalation of privilege or data exposure depends on the application logic that follows the bypass.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ModSecurity to version 3.0.17 or later, which resolves the match‑limit handling.
  • If an upgrade is not immediately feasible, remove or disable @rxGlobal expressions that can exhaust the match limit from active rules.
  • Add explicit deny rules or additional validation after the affected rules to ensure malicious requests are caught even if @rxGlobal fails.

Generated by OpenCVE AI on November 6, 2026 at 13:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Modsecurity
Modsecurity modsecurity
Vendors & Products Modsecurity
Modsecurity modsecurity
Type Values Removed Values Added
Description ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.5 until 3.0.17, the PCRE2 implementation of @rxGlobal in src/utils/regex.cc converts pcre2_match match-limit errors into an ordinary no-match result instead of propagating a non-OK RegexResult. When attacker-controlled input exhausts SecPcreMatchLimit, rules that rely on MSC_PCRE_LIMITS_EXCEEDED or its TX compatibility indicator do not run, so a request that should be rejected can pass through the WAF. The issue affects PCRE2 deployments that use @rxGlobal with a limit-exhaustible expression and a compensating rule; it is not a universal WAF bypass. This issue is fixed in version 3.0.17.
Title ModSecurity: PCRE2 `@rxGlobal` match-limit errors are converted to no-match
Weaknesses CWE-253
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'}

Weaknesses
  • CWE-253

    Incorrect Check of Function Return Value

  • CWE-393

    Return of Wrong Status Code

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 5:14 PM
Reserved
Oct 1, 2026, 2:20 PM
Status
Awaiting Analysis
Published
Nov 5, 2026, 4:17 PM
Modified
Nov 12, 2026, 10:18 PM
Severity
Moderate
Public date
Nov 5, 2026, 3:42 PM