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

Published Nov 5, 2026
·
Updated

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 pcre2match 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 MSCPCRELIMITSEXCEEDED 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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ModSecurity to a version that resolves this vulnerability.

    Fixed in 3.0.17

Event History

Nov 5, 2026
CVE Published
via MITRE·03:42 PM
Data Sourced
via MITRE·03:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are actually exposed to this bypass?

Affected deployments use the PCRE2 regex implementation and have rules using @rxGlobal with an expression whose matching can exhaust SecPcreMatchLimit, along with a compensating rule that relies on MSC_PCRE_LIMITS_EXCEEDED or its TX compatibility indicator. It is not a universal bypass of all ModSecurity rules or deployments.

2

What must an attacker do to exploit the issue?

An attacker must provide input that causes an @rxGlobal expression to exhaust SecPcreMatchLimit. The resulting match-limit error is treated as a normal no-match, preventing the associated limit-exceeded handling rule from running and potentially allowing the request through.

3

Are default configurations necessarily affected?

No. Exposure depends on the deployed PCRE2 configuration and rule set, specifically the presence of a limit-exhaustible @rxGlobal expression and compensating limit-exceeded handling.

4

How can I determine whether my rules are vulnerable?

Review rules that use @rxGlobal and identify whether they depend on MSC_PCRE_LIMITS_EXCEEDED or the TX compatibility indicator to reject requests after match-limit exhaustion. Test whether attacker-controlled input can exhaust SecPcreMatchLimit for those expressions.

5

What version resolves the issue?

The issue is fixed in ModSecurity 3.0.17. Versions from 3.0.5 until 3.0.17 are described as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203