The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42268

CVE-2026-42268: OWASP ModSecurity DoS Vulnerability

CVE-2026-42268 is a denial of service flaw in OWASP ModSecurity caused by unhandled exceptions in verification rules. This article covers the technical details, affected versions, security impact, and mitigation.

Published: May 17, 2026

CVE-2026-42268 Overview

CVE-2026-42268 is an integer underflow vulnerability [CWE-191] in libmodsecurity3, the engine that powers OWASP ModSecurity. ModSecurity is an open source, cross-platform web application firewall (WAF) engine for Apache, IIS, and Nginx. The flaw exists in versions 3.0.0 through 3.0.14 and triggers an unhandled std::out_of_range exception when administrators deploy rules that use the @verifySSN, @verifyCPF, or @verifySVNR operators. An attacker can send crafted network traffic that causes the WAF process to crash, resulting in denial of service. The issue is resolved in ModSecurity 3.0.15.

Critical Impact

Remote, unauthenticated attackers can crash the WAF engine by sending input that triggers an unsigned integer underflow inside the @verifySSN, @verifyCPF, or @verifySVNR operators, disrupting protection and availability of the protected web application.

Affected Products

  • OWASP ModSecurity (libmodsecurity3) 3.0.0 through 3.0.14
  • Deployments using @verifySSN, @verifyCPF, or @verifySVNR rule operators
  • Apache, IIS, and Nginx integrations using vulnerable libmodsecurity3 builds

Discovery Timeline

  • 2026-05-12 - CVE-2026-42268 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-42268

Vulnerability Analysis

The vulnerability resides in libmodsecurity3, the rule processing engine used by ModSecurity. When a configured rule invokes the @verifySSN, @verifyCPF, or @verifySVNR operators, internal length arithmetic performs a subtraction on an unsigned integer. Specific input sizes cause the operand to wrap below zero, producing an extremely large unsigned value. The library then uses that value as an index or length, which triggers a std::out_of_range exception from the C++ standard library. Because the exception is not caught, the host process terminates. For Nginx and Apache deployments fronting production traffic, each crash removes WAF inspection and can take down the worker handling the request.

Root Cause

The defect is an unsigned integer underflow [CWE-191] in the input validation logic of the three verification operators. The code subtracts from an unsigned length without first validating that the minuend is greater than the subtrahend. Combined with the absence of a try/catch around the subsequent bounded access, the underflow surfaces as an unhandled exception rather than a controlled rule failure.

Attack Vector

Exploitation is network-based and requires no authentication or user interaction. The attacker must know, or guess, that a ruleset using @verifySSN, @verifyCPF, or @verifySVNR is active. These operators commonly appear in data loss prevention rules that inspect form fields, query parameters, headers, or JSON bodies for U.S. Social Security Numbers, Brazilian CPF identifiers, or Austrian Social Insurance numbers. The attacker submits an HTTP request containing input crafted to trigger the underflow during operator evaluation, causing the WAF process to abort. No verified public proof-of-concept is currently available, and the vulnerability is not listed in the CISA KEV catalog.

The vulnerability does not yield code execution or data disclosure. Impact is limited to availability of the WAF engine and any process that embeds it. Refer to the OWASP ModSecurity GitHub Security Advisory for upstream technical details.

Detection Methods for CVE-2026-42268

Indicators of Compromise

  • Web server worker crashes or restarts correlated with std::out_of_range entries in error.log or systemd journal output
  • ModSecurity audit log gaps immediately following requests containing fields matched by @verifySSN, @verifyCPF, or @verifySVNR
  • Spikes in HTTP 502 or 503 responses from Nginx or Apache fronting libmodsecurity3

Detection Strategies

  • Inventory active ModSecurity rule sets and flag any rule referencing the @verifySSN, @verifyCPF, or @verifySVNR operators
  • Compare deployed libmodsecurity3 build versions against 3.0.15 using package manager queries or ldd plus library version strings
  • Alert on repeated unhandled C++ exceptions in web server logs, which indicate the underflow has been reached

Monitoring Recommendations

  • Forward Nginx, Apache, and IIS error logs plus ModSecurity audit logs to a centralized analytics platform for correlation
  • Monitor worker process restart counts and request error rates per virtual host to detect crash loops early
  • Track inbound request patterns targeting form fields and parameters that the WAF inspects with the affected operators

How to Mitigate CVE-2026-42268

Immediate Actions Required

  • Upgrade libmodsecurity3 to version 3.0.15 or later across all Apache, IIS, and Nginx hosts
  • If immediate upgrade is not possible, disable or comment out any rule using @verifySSN, @verifyCPF, or @verifySVNR until the patched library is deployed
  • Restart the web server after applying the upgrade so the new library is loaded by all workers

Patch Information

The maintainers fixed the unsigned integer underflow in ModSecurity 3.0.15. The advisory and patched release are published in the OWASP ModSecurity GitHub Security Advisory GHSA-vwr3-7x7g-7p9w. Linux distribution maintainers typically backport the fix; verify with apt, dnf, or your package manager that the installed build includes the GHSA-vwr3-7x7g-7p9w fix.

Workarounds

  • Remove or disable rules that invoke the @verifySSN, @verifyCPF, or @verifySVNR operators until libmodsecurity3 3.0.15 is in place
  • Replace affected operators with regular expression based detections that do not invoke the vulnerable code path
  • Place an upstream rate limit or request size restriction on endpoints that would otherwise be inspected by the affected operators to reduce crash exposure
bash
# Verify the installed libmodsecurity3 version and locate active rules
# 1. Check installed library version (Debian/Ubuntu example)
dpkg -l | grep -i modsecurity

# 2. Confirm runtime library version loaded by Nginx
ldd $(which nginx) | grep modsecurity

# 3. Search active rule files for vulnerable operators
grep -RIn --color -E '@verifySSN|@verifyCPF|@verifySVNR' /etc/nginx/ /etc/modsecurity/ /etc/apache2/

# 4. After upgrade to 3.0.15, reload the web server
sudo systemctl reload nginx

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechModsecurity

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-191
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-21876: OWASP ModSecurity CRS Detection Bypass

  • CVE-2026-30923: OWASP ModSecurity DoS Vulnerability

  • CVE-2025-52891: ModSecurity WAF DoS Vulnerability

  • CVE-2025-48866: OWASP ModSecurity DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English