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 · GitHub Advisory
Share

Severity by source

GitHub Advisory 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
qualitative

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
Analysis Generated
Jul 23, 2026 - 19:14 vuln.today
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

DescriptionGitHub Advisory

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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-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-2013-5705 MEDIUM POC
5.0 Apr 15

apache2/modsecurity.c in ModSecurity before 2.7.6 allows remote attackers to bypass rules by using chunked transfer codi

CVE-2026-52747 HIGH
8.6 Jul 10

WAF filtering bypass in OWASP ModSecurity (libmodsecurity) before 3.0.16 lets remote unauthenticated attackers smuggle m

CVE-2024-1019 HIGH
8.6 Jan 30

ModSecurity / libModSecurity 3.0.0 to 3.0.11 is affected by a WAF bypass for path-based payloads submitted via specially

CVE-2013-1915 HIGH
7.5 Apr 25

ModSecurity before 2.7.3 allows remote attackers to read arbitrary files, send HTTP requests to intranet servers, or cau

CVE-2026-30923 HIGH
8.2 May 05

Worker process crashes occur in ModSecurity (libmodsecurity3) when processing query string parameters containing single

Vendor StatusVendor

SUSE

Product Status
openSUSE Tumbleweed Fixed

Share

CVE-2026-42268 vulnerability details – vuln.today

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