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-2025-61772

CVE-2025-61772: Rack Multipart Parser DoS Vulnerability

CVE-2025-61772 is a denial of service flaw in Rack's Multipart Parser that allows attackers to exhaust memory via malformed headers. This article covers the technical details, affected versions, and mitigation strategies.

Published: April 15, 2026

CVE-2025-61772 Overview

CVE-2025-61772 is a resource exhaustion vulnerability affecting Rack, a modular Ruby web server interface. The vulnerability exists in Rack::Multipart::Parser, which can accumulate unbounded data when processing multipart requests with malformed headers. Specifically, when a multipart part's header block never terminates with the required blank line (CRLFCRLF), the parser continues appending incoming bytes to memory without any size cap. This allows remote attackers to exhaust server memory and cause a denial of service (DoS) condition.

Critical Impact

Remote attackers can send incomplete multipart headers to trigger high memory consumption, leading to process termination via out-of-memory (OOM) conditions or severe application slowdown. The impact scales with request size limits and server concurrency.

Affected Products

  • Rack versions prior to 2.2.19
  • Rack versions prior to 3.1.17
  • Rack versions prior to 3.2.2

Discovery Timeline

  • 2025-10-07 - CVE CVE-2025-61772 published to NVD
  • 2025-10-10 - Last updated in NVD database

Technical Details for CVE-2025-61772

Vulnerability Analysis

This vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption). The flaw resides in the multipart request parsing logic within Rack::Multipart::Parser. When processing multipart form data, the parser expects each part's header section to be terminated by a blank line represented as CRLFCRLF (carriage return, line feed sequence repeated). However, when this terminating sequence is never provided, the parser enters a state where it continuously accumulates header data in memory without enforcing any upper bound.

The attack is network-accessible and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests with multipart content that contains header blocks deliberately missing the required terminating blank line. As the server processes these malicious requests, memory consumption grows unbounded until the process is terminated by the operating system or the application becomes unresponsive.

Root Cause

The root cause is missing input validation in the multipart header parsing routine. The Rack::Multipart::Parser component does not enforce a maximum size limit on individual part headers during parsing. This allows an attacker to provide an arbitrarily large amount of data that the parser will continue to buffer in memory, waiting indefinitely for a terminating blank line that never arrives.

Attack Vector

The attack vector is network-based, targeting Ruby web applications that accept multipart file uploads or form submissions. An attacker constructs a malicious multipart HTTP request where one or more parts have header sections that never include the terminating CRLFCRLF sequence. When the vulnerable Rack middleware processes this request, it allocates memory for the incoming header data without bounds checking.

The vulnerability can be exploited through standard HTTP POST requests to any endpoint that processes multipart form data. The severity of the attack increases with higher concurrency, as multiple simultaneous malicious requests can accelerate memory exhaustion.

Detection Methods for CVE-2025-61772

Indicators of Compromise

  • Rapid memory consumption increases on Ruby application servers processing multipart requests
  • Out-of-memory (OOM) process terminations affecting Rack-based applications
  • Unusual patterns of incomplete multipart uploads in web server logs
  • Extended request processing times for multipart form submissions

Detection Strategies

  • Monitor application memory usage for sudden unexplained growth patterns during HTTP request processing
  • Implement alerting on process terminations due to OOM conditions on servers running Rack-based applications
  • Analyze HTTP request logs for multipart requests that remain in processing state abnormally long
  • Deploy network-level inspection to identify malformed multipart requests missing proper header termination

Monitoring Recommendations

  • Configure memory usage thresholds and alerts for Ruby application processes
  • Enable detailed logging for multipart request parsing in development and staging environments
  • Monitor for patterns of incomplete or malformed multipart requests from specific source IPs
  • Track request duration metrics to identify requests that may be triggering the vulnerability

How to Mitigate CVE-2025-61772

Immediate Actions Required

  • Upgrade Rack to version 2.2.19, 3.1.17, or 3.2.2 depending on your major version
  • Review application dependencies to ensure all Rack instances are updated
  • Implement request size limits at the reverse proxy or web server layer as an additional defense
  • Monitor for signs of exploitation attempts in production environments

Patch Information

The Rack maintainers have released patched versions that cap per-part header size to 64 KiB. The following versions contain the fix:

  • Rack 2.2.19 for the 2.x branch
  • Rack 3.1.17 for the 3.1.x branch
  • Rack 3.2.2 for the 3.2.x branch

Security patches are available via the following commits:

  • Commit 589127f
  • Commit d869fed
  • Commit e08f78c

For complete details, refer to the GitHub Security Advisory.

Workarounds

  • Restrict maximum request sizes at the proxy or web server layer (e.g., Nginx client_max_body_size)
  • Implement rate limiting on endpoints that accept multipart uploads
  • Consider deploying a web application firewall (WAF) to filter malformed multipart requests
  • Temporarily disable multipart upload functionality if not business-critical until patching is complete
bash
# Nginx configuration example - restrict request body size
# Add to nginx.conf or site configuration
server {
    # Limit maximum request body size to 10 megabytes
    client_max_body_size 10m;
    
    # Additional protection for upload endpoints
    location /upload {
        client_max_body_size 50m;
        client_body_timeout 60s;
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRack

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.19%

  • 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
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34827: Rack Multipart Parser DoS Vulnerability

  • CVE-2026-34829: Rack Multipart Parser DoS Vulnerability

  • CVE-2026-34826: Rack Web Server Interface DoS Vulnerability

  • CVE-2026-34230: Rack Web Server Interface 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