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-61770

CVE-2025-61770: Rack Multipart Parser DOS Vulnerability

CVE-2025-61770 is a denial of service vulnerability in Rack's Multipart Parser that enables memory exhaustion attacks through unbounded preamble buffering. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2025-61770 Overview

CVE-2025-61770 is a Denial of Service vulnerability in Rack, the modular Ruby web server interface. The vulnerability exists in the Rack::Multipart::Parser component, which buffers the entire multipart preamble (bytes before the first boundary) in memory without any size limit. A remote attacker can exploit this by sending a large preamble followed by a valid boundary in multipart/form-data requests, causing significant memory consumption and potential process termination due to out-of-memory (OOM) conditions.

Critical Impact

Remote attackers can trigger large transient memory spikes, causing worker crashes or severe slowdown due to garbage collection. The impact scales with allowed request sizes and concurrency, potentially affecting application availability.

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-2025-61770 published to NVD
  • 2025-10-10 - Last updated in NVD database

Technical Details for CVE-2025-61770

Vulnerability Analysis

This vulnerability stems from unbounded memory allocation in the multipart request parser. When processing multipart/form-data requests, Rack::Multipart::Parser reads and buffers all bytes before the first boundary delimiter (known as the preamble) into memory. According to RFC 2046, the preamble is technically optional and should be ignored by parsers, but the vulnerable implementation accumulates this data without enforcing any size constraints.

The flaw allows attackers to craft malicious multipart requests containing arbitrarily large preambles. When multiple concurrent requests exploit this behavior, the cumulative memory pressure can exhaust available system memory, triggering OOM conditions and forcing worker process termination.

Root Cause

The root cause is a resource exhaustion vulnerability (CWE-400) in the multipart parsing logic. The parser implementation failed to enforce size limits on preamble data, allowing unbounded memory allocation. The fix introduces two new constants to limit resource consumption:

  • BOUNDARY_START_LIMIT = 16 * 1024 (16 KiB) - Limits the preamble size
  • MIME_HEADER_BYTESIZE_LIMIT = 64 * 1024 (64 KiB) - Limits MIME header size

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker sends crafted HTTP POST requests with Content-Type: multipart/form-data containing a large preamble section before the boundary delimiter. The attack is amplified when multiple malicious requests are sent concurrently, overwhelming server memory resources and causing denial of service conditions.

ruby
# Security patch adding size limits to multipart parser
# Source: https://github.com/rack/rack/commit/589127f4ac8b5cf11cf88fb0cd116ffed4d2181e

         Tempfile.new(["RackMultipart", extension])
       }
 
+      BOUNDARY_START_LIMIT = 16 * 1024
+      private_constant :BOUNDARY_START_LIMIT
+
+      MIME_HEADER_BYTESIZE_LIMIT = 64 * 1024
+      private_constant :MIME_HEADER_BYTESIZE_LIMIT
+
       class BoundedIO # :nodoc:
         def initialize(io, content_length)
           @io             = io

Detection Methods for CVE-2025-61770

Indicators of Compromise

  • Unusual memory consumption spikes on Ruby web application servers
  • Worker process crashes or OOM killer events in system logs
  • High volume of large multipart/form-data POST requests from single sources
  • Garbage collection activity significantly higher than baseline

Detection Strategies

  • Monitor for anomalous memory usage patterns in Ruby application workers
  • Implement request logging that captures Content-Type headers and request body sizes for multipart requests
  • Configure alerting on worker process restarts or OOM events
  • Review web server access logs for unusually large POST requests to endpoints accepting multipart data

Monitoring Recommendations

  • Set up memory threshold alerts for Ruby application processes
  • Monitor request queue depth and response latency as early indicators of resource exhaustion
  • Implement rate limiting on multipart upload endpoints
  • Track garbage collection frequency and duration metrics

How to Mitigate CVE-2025-61770

Immediate Actions Required

  • Upgrade Rack to version 2.2.19, 3.1.17, or 3.2.2 depending on your version branch
  • If immediate patching is not possible, implement request body size limits at the reverse proxy or web server level
  • Configure per-process memory limits to prevent system-wide OOM conditions
  • Enable request body size limits in your application framework configuration

Patch Information

Rack has released patched versions that enforce a preamble size limit (16 KiB) and either discard preamble data entirely or reject requests exceeding the limit. The following versions contain the fix:

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

Security patches are available through the GitHub Security Advisory GHSA-p543-xpfm-54cp and the corresponding commits for each version branch.

Workarounds

  • Limit total request body size at the proxy or web server level (e.g., Nginx client_max_body_size or Apache LimitRequestBody)
  • Configure memory limits per worker process using tools like ulimit or container resource constraints
  • Implement rate limiting on endpoints that accept multipart uploads
  • Monitor memory usage and configure automatic worker recycling when thresholds are exceeded
bash
# Nginx configuration to limit request body size
# Add to http, server, or location block
client_max_body_size 10m;

# Set memory limits for Ruby processes using ulimit
ulimit -v 2097152  # Limit virtual memory to 2GB

# Or configure in systemd service file
# MemoryMax=2G

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.16%

  • 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 Changes

  • GitHub Commit Updates

  • GitHub Commit Fixes

  • GitHub Security Advisory GHSA-p543-xpfm-54cp
  • 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