CVE Database›Document archive›CVE-2026-42268

CVE-2026-42268

mod_security: ModSecurity: Denial of Service via unsigned integer underflow in rule verification functions

Loading…

Severity

Moderate

Red Hat Product Security

4.9

CVSS 3.1

Review impact separately from score.

Published · May 13, 2026

Updated · July 3, 2026

Description

A flaw was found in ModSecurity, an open-source web application firewall (WAF). This vulnerability occurs when an administrator configures a rule that uses @verifySSN, @verifyCPF, or @verifySVNR functions. An unhandled exception, specifically an unsigned integer underflow, can lead to a denial of service (DoS) condition, making the WAF unavailable.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, administrators should avoid configuring ModSecurity rules that utilize the @verifySSN, @verifyCPF, or @verifySVNR functions. Disabling or removing these specific rules will prevent the unsigned integer underflow that leads to a denial of service. After modifying ModSecurity configuration, a service reload or restart may be required for the changes to take effect.

CVSS / CWE

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

CWE-191 · Integer Underflow (Wrap or Wraparound)