Description
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.
Published: 2026-11-09
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

Rack, a modular Ruby web server interface, contains a flaw in its multipart parsing component (Rack::Multipart::Parser). When reading a multipart request that ends inside or immediately after multipart headers, the parser can retain data in an internal StringScanner buffer. An attacker may craft many small parts aligned with the buffer size boundary so the buffer grows beyond the per-field, header, and preamble limits, exhausting the worker’s memory and causing the application to become unresponsive. The vulnerability is purely a denial‑of‑service issue with no direct impact on confidentiality or integrity.

Affected Systems

The vulnerability affects the Rack project (rack:rack) for all releases prior to 2.2.25, 3.1.23, and 3.2.8. Any Ruby application that processes multipart requests with those versions is susceptible.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity of this memory exhaustion flaw. EPSS is not available and the issue is not listed in CISA’s KEV catalog. The attacker only needs to send a well‑formed multipart body; therefore the attack can be executed remotely over HTTP without any authentication. Because the flaw requires reaching the multipart parser and aligning payload boundaries, the practical exploitation requires careful request construction, but the potential for a DoS remains significant for exposed applications. The lack of a publicly available exploit in KEV does not reduce the risk, as the flaw is straightforward for an attacker with knowledge of multipart formats to trigger.

Generated by OpenCVE AI on November 9, 2026 at 23:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Rack to version 2.2.25, 3.1.23, 3.2.8, or later.
  • Ensure your application’s dependency management points to the updated Rack library and re‑deploy the application.
  • Monitor worker process memory usage and set appropriate process limits to mitigate any residual memory exhaustion risk.

Generated by OpenCVE AI on November 9, 2026 at 23:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Rack: Multipart parsing allows DoS via unbounded scan buffer growth
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-09T22:02:38.334Z

Reserved: 2026-11-09T17:45:35.936Z

Link: CVE-2026-125111

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T23:30:18Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption