A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-67726

CVE-2025-67726: Tornadoweb Tornado DoS Vulnerability

CVE-2025-67726 is a denial of service vulnerability in Tornadoweb Tornado caused by inefficient HTTP header parsing. Attackers can trigger quadratic CPU usage, making servers unresponsive. This article covers technical details, affected versions, impact, and mitigation.

Updated: May 19, 2026

CVE-2025-67726 Overview

CVE-2025-67726 is a denial-of-service (DoS) vulnerability in Tornado, a Python web framework and asynchronous networking library. Versions 6.5.2 and below contain an inefficient algorithm in the _parseparam function within httputil.py that processes HTTP header parameters. The function repeatedly calls string.count() within a nested loop while parsing quoted semicolons, producing quadratic time complexity. An attacker can send a crafted Content-Disposition header with many parameters to drive CPU usage up at an O(n²) rate. Because Tornado uses a single event loop, one malicious request can render the entire server unresponsive. The issue is fixed in version 6.5.3.

Critical Impact

A single unauthenticated HTTP request with a malicious Content-Disposition header can stall the Tornado event loop and cause server-wide unavailability.

Affected Products

  • Tornado versions 6.5.2 and earlier
  • Python web applications built on the Tornado framework
  • Async networking services using Tornado's httputil parsing layer

Discovery Timeline

  • 2025-12-12 - CVE-2025-67726 published to NVD
  • 2025-12-22 - Last updated in NVD database

Technical Details for CVE-2025-67726

Vulnerability Analysis

The flaw resides in Tornado's _parseparam helper in tornado/httputil.py, which splits HTTP header values such as multipart/form-data boundaries and Content-Disposition parameters on semicolons while respecting quoted strings. The original implementation re-scanned the entire string with s.count('"', 0, end) and s.count('\\"', 0, end) on every iteration of an inner loop. As the number of semicolons inside quoted regions grows, the work performed grows quadratically with input length. Tornado's single-threaded event loop magnifies the impact: while one worker is blocked parsing a malicious header, all other clients are starved. This pattern maps to [CWE-400] Uncontrolled Resource Consumption.

Root Cause

The root cause is an algorithmic complexity defect. The inner while loop advanced end one semicolon at a time and recounted quote characters from index 0 on each pass. Attacker-controlled input containing many semicolons inside quoted parameter values triggered repeated full scans, producing O(n²) CPU cost.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker submits an HTTP request whose Content-Disposition (or similar parameter-bearing) header carries a large number of crafted quoted semicolons. Tornado parses the header before application-level controls execute, so the event loop blocks during parsing. Repeated requests can sustain the outage.

python
# Patch from tornado/httputil.py - Fix quadratic behavior in _parseparam
def _parseparam(s: str) -> Generator[str, None, None]:
    start = 0
    while s.find(";", start) == start:
        start += 1
        end = s.find(";", start)
        ind, diff = start, 0
        while end > 0:
            diff += s.count('"', ind, end) - s.count('\\"', ind, end)
            if diff % 2 == 0:
                break

Source: Tornado commit 771472c

The fix borrows logic from CPython PR 136072. It tracks a running diff of unescaped quote counts across incremental ranges (ind to end) rather than rescanning from index 0, restoring linear complexity.

Detection Methods for CVE-2025-67726

Indicators of Compromise

  • HTTP requests with Content-Disposition headers exceeding typical size, containing dense sequences of quoted semicolons.
  • Sustained CPU saturation in Tornado worker processes correlated with inbound HTTP traffic.
  • Tornado event loop responsiveness alarms or health-check failures during request bursts.
  • Access logs showing the same client repeatedly POSTing multipart/form-data with oversized parameter headers.

Detection Strategies

  • Inspect inbound HTTP headers at the reverse proxy or WAF for Content-Disposition values above a reasonable byte threshold (for example, 4 KB) and for unusually high semicolon counts.
  • Profile Tornado processes for long-running synchronous work inside httputil._parseparam using py-spy or similar samplers.
  • Correlate spikes in per-request handler latency with specific source IPs in access logs.

Monitoring Recommendations

  • Alert on Tornado worker CPU utilization sustained above baseline during off-peak windows.
  • Track event loop lag metrics and request queue depth; both rise sharply during exploitation.
  • Forward web server and reverse proxy logs to a centralized analytics platform for header-anomaly hunting.

How to Mitigate CVE-2025-67726

Immediate Actions Required

  • Upgrade Tornado to version 6.5.3 or later in all production and staging environments.
  • Inventory Python services and CI pipelines for transitive dependencies on tornado<=6.5.2.
  • Enforce request and header size limits at the upstream proxy to cap parser input.
  • Rate-limit unauthenticated POST endpoints that accept multipart/form-data payloads.

Patch Information

The maintainers fixed the issue in Tornado v6.5.3. Technical details and credit are documented in GitHub Security Advisory GHSA-jhmp-mqwm-3gq8. The code change is tracked in commit 771472c.

Workarounds

  • Reject requests whose Content-Disposition header exceeds a strict byte limit at the WAF or load balancer.
  • Drop requests with abnormal semicolon density in HTTP parameter headers using a regex or Lua filter.
  • Place Tornado behind a reverse proxy that pre-parses and validates multipart headers before forwarding.
  • Run multiple Tornado worker processes so a single blocked event loop does not take down the entire service.
bash
# Upgrade Tornado to the patched release
pip install --upgrade 'tornado>=6.5.3'

# Verify installed version
python -c "import tornado; print(tornado.version)"

# Example NGINX limits in front of Tornado
# nginx.conf
# large_client_header_buffers 4 8k;
# client_header_buffer_size 4k;
# client_max_body_size 10m;

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechTornadoweb

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Tornado Release v6.5.3
  • Vendor Resources
  • GitHub Tornado Commit Update

  • GitHub Security Advisory GHSA-jhmp-mqwm-3gq8
  • Related CVEs
  • CVE-2025-67725: Tornadoweb Tornado DoS Vulnerability

  • CVE-2024-52804: Tornadoweb Tornado DoS Vulnerability

  • CVE-2023-28370: Tornadoweb Tornado Open Redirect Flaw
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