Skip to main content

Rack CVE-2026-125111

| EUVDEUVD-2026-120485 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-09 GitHub_M GHSA-5v64-555j-wjxm
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted multipart POST
  2. Delivery
    Align small parts to buffer_size boundaries
  3. Exploit
    Scan buffer never compacted, grows with request
  4. Execution
    Worker memory exhausted
  5. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No authentication or user interaction is required (PR:N/UI:N): the condition is simply that the application parses multipart/form-data requests with Rack, which the advisory states affects the default configuration. The specific prerequisite is request parts crafted so that each read chunk of rack.multipart.buffer_size (1 MiB default) ends inside, or immediately after, a part's MIME headers, so the StringScanner buffer is never compacted; existing per-field, header, and preamble limits do not apply because each individual part stays small. Limiting factors that reduce realistic risk: the impact is availability-only (single worker memory exhaustion, no code execution or data access), and exploitation is bounded or blocked by a request-body-size limit at a reverse proxy/application boundary or by setting RACK_MULTIPART_PARSER_BYTESIZE_LIMIT to the largest multipart body the app must accept. Endpoints that do not accept multipart bodies are not reachable via this vector.

Impact

This is a credible but bounded denial-of-service issue, not a high-CVSS-but-no-real-risk item. The CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) is internally consistent with the advisory: network-reachable, low-complexity, unauthenticated, with impact limited purely to availability (C:N/I:N), which matches a memory-exhaustion worker crash rather than code execution or data exposure. The decision label is 'this_week' (not act_now/emergency), aligning with a serious-but-not-fire DoS. No EPSS score and no CISA KEV entry were provided, and the vulnerability is not listed as actively exploited, so there is currently no evidence of in-the-wild abuse. The attack is attractive because it needs only a well-formed multipart body against default configurations and the GHSA advisory plus patch commits publicly document the exact alignment technique (parts sized to end inside/after headers so the StringScanner buffer is never compacted, reaching ~4 GiB from 4096 ~1 MiB parts), which materially lowers the barrier to building a working trigger. Weighing the signals: broad exposure and trivial preconditions push risk up, while availability-only impact, no confirmed exploitation, and the availability of straightforward reverse-proxy/body-size mitigations keep it below emergency priority - patch on a normal-but-prompt cycle. Note that EPSS is absent, so the probabilistic exploitation signal cannot be cross-checked against the KEV/decision signals here.

Exploit ScenarioDerived

An unauthenticated attacker sends a single well-formed multipart/form-data POST containing thousands of tiny parts whose sizes are tuned so each read chunk ends inside or just after a part's headers, preventing the parser from discarding consumed bytes. The scan buffer grows to roughly the full request size (up to ~4 GiB with default limits), exhausting the worker process's memory and taking it down. No standalone weaponized exploit is reported, but the GHSA advisory and the fix commit's test case publicly describe the precise byte-alignment method needed to reproduce it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Memory exhaustion denial of service in Rack's multipart parser (prior to 2.2.25, 3.1.23, and 3.2.8) affects any Ruby application that parses multipart/form-data requests in its default configuration. An unauthenticated remote attacker can craft a well-formed multipart body whose parts are sized to align with rack.multipart.buffer_size (1 MiB by default) boundaries so that each read ends inside or immediately after a part's MIME headers, preventing the internal StringScanner buffer from being compacted; with default limits the retained buffer can reach roughly 4 GiB per request. Impact is availability-only (CVSS 7.5, A:H, AC:L, PR:N, UI:N): a single request can exhaust worker memory, but no code execution or data access results, and exploitation is bounded or blocked by request-body-size limits or by setting RACK_MULTIPART_PARSER_BYTESIZE_LIMIT to the largest multipart body the application must accept. No public exploit code is identified at time of analysis; upstream fixes are committed and released as 2.2.25, 3.1.23, and 3.2.8.

RemediationAI

Upgrade Rack to 2.2.25, 3.1.23, or 3.2.8 (per branch) as documented in GHSA-5v64-555j-wjxm; the fix makes the parser discard parsed bytes from its scan buffer before reading more data, and the patch is available via the upstream commits linked in the advisory. Until patched, the vendor-stated mitigations are to limit the request body size at a reverse proxy or application boundary - accepting only the multipart body sizes the application actually needs, at the cost of rejecting larger legitimate uploads - and to set RACK_MULTIPART_PARSER_BYTESIZE_LIMIT to the largest multipart body the application must accept, which bounds the memory a single request can hold but likewise caps legitimate upload size. Endpoints that do not accept multipart bodies are not reachable via this vector.

Affected VersionsENISA

rack 3.2, < 3.2.8
rack 3.0, < 3.1.23
rack < 2.2.25

Affected Packages

rubygems rack fix: 2.2.25, 3.1.23, 3.2.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in rubygems

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Rack is a modular Ruby web server interface, and Rack::Multipart::Parser handles multipart/form-data bodies by appending chunks read at rack.multipart.buffer_size (default 1 MiB) into an internal StringScanner. Under the class CWE-400 (Uncontrolled Resource Consumption), the root cause is missing buffer compaction: consumed bytes are discarded only when a chunk ends inside a part body and body bytes have already been consumed. In the header state, and in the body state when no body bytes have been consumed yet, the parser requests more data without removing anything, and bytes skipped between parts are not counted against any limit. An attacker aligns many small parts so that every chunk read terminates inside or immediately after the part headers, so the buffer grows with the request even though each individual part, header, and preamble stays within its per-field, header, and preamble limits. The advisory notes the buffer can reach roughly 4 GiB with default limits (4096 parts of about 1 MiB), while ordinary file uploads aligned the same way are bounded by the file part limit at roughly 128 MiB per request. The upstream commits (244e75a840cee0823f86d5d01dc374505a8abed8, 2eaa5b1026a03a43b6537b1a0b233707ba887702, c9b4698595050838342bd3b5a0fc9ab908065f8f) fix this by discarding the consumed prefix in handle_mime_head and in the body path before reading more data, with a regression test asserting the scan buffer stays below twice the buffer size. The exact triggering sequence for any particular deployment is described by the advisory as above; endpoints that do not accept multipart bodies are not reachable through this vector.

Know when Rack gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote, unauthenticated, low-complexity DoS against default multipart parsing with availability-only impact, so AV:N/AC:L/PR:N/UI:N and C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 23:18 EUVD
CVE Published
Nov 09, 2026 - 22:02 cve.org
HIGH 7.5

DescriptionCVE.org

Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser can retain parsed data in its internal StringScanner buffer when reads end inside or immediately after multipart headers. An unauthenticated attacker can align many small parts with rack.multipart.buffer_size boundaries so the buffer grows with the request despite per-field, header, and preamble limits, causing a worker to exhaust memory. The attack requires only a well-formed multipart body and affects applications that parse multipart requests. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.

Technical POC Analysis

CWE-400 (Uncontrolled Resource Consumption).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-125111 is a high-severity memory exhaustion vulnerability in the Rack multipart parser that can allow a single unauthenticated request to exhaust worker memory, taking down any Ruby application that processes multipart/form-data. This directly threatens service availability for all users of affected applications, and while no public exploit code exists yet, the lack of a patch means proactive mitigation is critical to prevent potential outages.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
Rack underpins nearly all Ruby web apps including Rails and Sinatra
Threat Intel
1
1 sources
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Rack

View all
CVE-2026-22860 HIGH POC
7.5 Feb 18

Directory traversal in Rack versions prior to 2.2.22, 3.1.20, and 3.2.5 allows unauthenticated remote attackers to list

CVE-2024-26141 HIGH POC
7.5 Feb 29

Rack is a modular Ruby web server interface. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable,

CVE-2024-25126 HIGH POC
7.5 Feb 29

Rack is a modular Ruby web server interface. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable,

CVE-2020-8184 HIGH POC
7.5 Jun 19

A reliance on cookies without validation/integrity check security vulnerability exists in rack < 2.2.3, rack < 2.1.4 tha

CVE-2022-30123 CRITICAL
10.0 Dec 05

A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which could allow is a possible shell

CVE-2025-25184 MEDIUM POC
5.7 Feb 12

Rack provides an interface for developing web applications in Ruby. Rated medium severity (CVSS 5.7), this vulnerability

CVE-2026-25500 MEDIUM POC
5.4 Feb 18

Rack's Directory module fails to sanitize filenames when generating HTML directory listings, allowing attackers to craft

CVE-2026-39324 CRITICAL
9.3 Apr 07

Session authentication bypass in Rack::Session::Cookie 2.0.0 through 2.1.1 allows unauthenticated remote attackers to fo

CVE-2020-8161 HIGH
8.6 Jul 02

A directory traversal vulnerability exists in rack < 2.2.0 that allows an attacker perform directory traversal vulnerabi

CVE-2013-0263 MEDIUM
5.1 Feb 08

Rack::Session::Cookie in Rack 1.5.x before 1.5.2, 1.4.x before 1.4.5, 1.3.x before 1.3.10, 1.2.x before 1.2.8, and 1.1.x

CVE-2023-27530 HIGH
7.5 Mar 10

A DoS vulnerability exists in Rack <v3.0.4.2, <v2.2.6.3, <v2.1.4.3 and <v2.0.9.3 within in the Multipart MIME parsing co

CVE-2025-61772 HIGH
7.5 Oct 07

Memory exhaustion denial of service in the Ruby Rack web server interface (versions prior to 2.2.19, 3.1.17, and 3.2.2)

Vendor StatusVendor

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