Skip to main content

ModSecurity CVE-2026-42268

| EUVDEUVD-2026-29854 HIGH
Integer Underflow (CWE-191)
2026-05-12 GitHub_M
8.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint behind ModSecurity
  2. Delivery
    Send crafted HTTP input to identifier-validation rule
  3. Exploit
    @verifySSN/@verifyCPF/@verifySVNR triggers unsigned underflow
  4. Execution
    Uncaught std::out_of_range crashes libmodsecurity3
  5. Impact
    WAF/worker down, denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires that the administrator has configured the ModSecurity rule set to use at least one of the operators @verifySSN, @verifyCPF, or @verifySVNR - this is the exact prerequisite named in the description and is captured by the CVSS 4.0 AT:P (attack requirement) metric. Given PR:N/UI:N, no attacker authentication or user interaction is needed and the request can be sent remotely over the network, but the limiting factor is decisive: these three national-ID validation operators are not part of default or common rule sets, so any deployment that does not use them is not exploitable. Impact is limited to availability (VA:H, VC:N/VI:N) - a WAF-engine crash - with no confidentiality or integrity effect.

Impact

Signals are mixed and point to a real but conditional and non-widespread risk. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N, VA:H, base 8.2) correctly models a network-reachable, unauthenticated availability-only impact, with AT:P (attack requirement present) reflecting that the vulnerable code path only exists when an administrator deploys one of three uncommon rule operators. SSVC classifies exploitation as 'poc' and automatable as 'yes' with 'partial' technical impact - meaning working proof-of-concept-style triggering is feasible and scriptable, but impact is limited to crashing the engine, not code execution or data theft. Counterbalancing this, EPSS is only 0.04% (13th percentile) and the CVE is not in CISA KEV, indicating no evidence of active or widespread exploitation. The key limiting factor is configuration dependence: @verifySSN/@verifyCPF/@verifySVNR are niche operators absent from most default rule sets, so the majority of ModSecurity deployments are simply not affected. Net: prioritize patching only where these operators are in use; elsewhere this is low real-world risk despite the high CVSS.

Exploit ScenarioDerived

An attacker sends a crafted HTTP request whose body or parameter is inspected by a ModSecurity rule using @verifySSN, @verifyCPF, or @verifySVNR; the malformed value triggers the unsigned-integer underflow and an uncaught std::out_of_range exception, crashing the WAF worker and knocking the protected web application offline. Because SSVC rates the issue as automatable with public proof-of-concept indicators, an attacker can script repeated requests to sustain the outage against any endpoint whose rules use these operators.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Remote denial of service in OWASP ModSecurity (libmodsecurity3) 3.0.0 through 3.0.14 allows unauthenticated attackers to crash the WAF engine when the deployed rule set uses the @verifySSN, @verifyCPF, or @verifySVNR operators. An unsigned-integer underflow (CWE-191) produces an out-of-range value that throws an unhandled std::out_of_range exception, terminating the process protecting Apache, IIS, or Nginx. Publicly available exploit code exists per the CISA SSVC assessment, though EPSS remains very low (0.04%) and it is not in CISA KEV; fixed in 3.0.15.

RemediationAI

Vendor-released patch: upgrade libmodsecurity3 to 3.0.15, which fixes the underflow (see GHSA-vwr3-7x7g-7p9w at https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-vwr3-7x7g-7p9w); rebuild or update the Apache/IIS/Nginx ModSecurity connector against the patched library, and apply the corresponding Red Hat and SUSE package updates where those distributions are used. If immediate patching is not possible, the specific effective workaround is to remove or disable any rules using the @verifySSN, @verifyCPF, or @verifySVNR operators from your active rule set, which fully closes the vulnerable code path; the trade-off is loss of format/checksum validation for those national identifiers, so any data-leak-prevention or input-validation rules relying on them will no longer fire and should be compensated by alternative regex-based rules until the upgrade is completed.

Affected VersionsENISA

ModSecurity 3.0.0, < 3.0.15

Affected Packages

euvd modsecurity_3_0_0 fix: 3.0.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ModSecurity is a cross-platform web application firewall engine; libmodsecurity3 is the C++ core library (v3.x) loaded by the ModSecurity connectors for Apache httpd, Microsoft IIS, and Nginx to inspect HTTP traffic against rule sets such as the OWASP Core Rule Set. The flaw is a CWE-191 integer underflow: input processed by the specialized validation operators @verifySSN (US Social Security Number), @verifyCPF (Brazilian taxpayer ID), and @verifySVNR (Austrian social security number) causes an unsigned integer to wrap below zero, yielding a large index used in a bounds-checked container access. That access throws std::out_of_range, which is never caught, crashing the worker. The affected CPE is cpe:2.3:a:owasp-modsecurity:modsecurity:*, and the tags (Integer Overflow, Information Disclosure, Apache, Nginx, Red Hat, Suse) indicate distribution across major Linux WAF deployments, though the confirmed technical impact here is availability, not disclosure.

Know when Modsecurity gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because exploitation depends on the non-default @verifySSN/@verifyCPF/@verifySVNR operators being configured; impact is availability-only (A:H, C:N/I:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 4.9 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 12, 2026 - 23:03 EUVD
CVSS changed
May 12, 2026 - 22:22 NVD
8.2 (HIGH)
CVE Published
May 12, 2026 - 21:40 nvd
HIGH 8.2

DescriptionCVE.org

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 to before 3.0.15, there is an unhandled exception (std::out_of_range) caused by unsigned integer underflow in libmodsecurity3 if the user (administrator) uses a rule any of @verifySSN, @verifyCPF, or @verifySVNR. This vulnerability is fixed in 3.0.15.

Executive ViewAI

Why It Matters

ModSecurity Web Application Firewall versions 3.0.0-3.0.14 can be remotely crashed by any attacker sending a crafted request, leaving web applications unprotected until the WAF service restarts. Organizations using specific rule validation operators (@verifySSN, @verifyCPF, @verifySVNR) in their ModSecurity deployments face exposure of their applications to direct attack. Vendor-released patch: version 3.0.15.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
High
widely deployed WAF engine for Apache, Nginx, and IIS
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-27110 HIGH POC
7.9 Feb 25

Libmodsecurity is one component of the ModSecurity v3 project. Rated high severity (CVSS 7.9), this vulnerability is rem

CVE-2025-48866 HIGH POC
7.5 Jun 02

ModSecurity versions prior to 2.9.10 contain a denial of service vulnerability in the `sanitiseArg` and `sanitizeArg` ac

CVE-2021-42717 HIGH POC
7.5 Dec 07

ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects. Rated high severity (CVSS 7.5), this vulnerabi

CVE-2020-15598 HIGH POC
7.5 Oct 06

Trustwave ModSecurity 3.x through 3.0.4 allows denial of service via a special request. Rated high severity (CVSS 7.5),

CVE-2019-13464 HIGH POC
7.5 Jul 09

An issue was discovered in OWASP ModSecurity Core Rule Set (CRS) 3.0.2. Rated high severity (CVSS 7.5), this vulnerabili

CVE-2012-4528 MEDIUM POC
5.0 Dec 28

The mod_security2 module before 2.7.0 for the Apache HTTP Server allows remote attackers to bypass rules, and deliver ar

CVE-2018-13065 MEDIUM POC
6.1 Jul 03

ModSecurity 3.0.0 has XSS via an onerror attribute of an IMG element. Rated medium severity (CVSS 6.1), this vulnerabili

CVE-2013-2765 MEDIUM POC
5.0 Jul 15

The ModSecurity module before 2.7.4 for the Apache HTTP Server allows remote attackers to cause a denial of service (NUL

CVE-2019-11391 MEDIUM POC
5.3 Apr 21

An issue was discovered in OWASP ModSecurity Core Rule Set (CRS) through 3.1.0. Rated medium severity (CVSS 5.3), this v

CVE-2019-11390 MEDIUM POC
5.3 Apr 21

An issue was discovered in OWASP ModSecurity Core Rule Set (CRS) through 3.1.0. Rated medium severity (CVSS 5.3), this v

CVE-2019-11389 MEDIUM POC
5.3 Apr 21

An issue was discovered in OWASP ModSecurity Core Rule Set (CRS) through 3.1.0. Rated medium severity (CVSS 5.3), this v

CVE-2019-11388 MEDIUM POC
5.3 Apr 21

An issue was discovered in OWASP ModSecurity Core Rule Set (CRS) through 3.1.0. Rated medium severity (CVSS 5.3), this v

Vendor StatusVendor

SUSE

Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy