CVE-2026-125111
Published:November 09, 2026
Updated:November 10, 2026
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.
Affected Packages
https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=2.1.0 <v2.2.25 || >=v2.1.4.2 <v2.2.25Fix Suggestion:
Update to version v2.2.25https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=3.0.0.beta1 <v3.1.23 || >=v3.0.1 <v3.1.23Fix Suggestion:
Update to version v3.1.23https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=v3.2.0 <v3.2.8Fix Suggestion:
Update to version v3.2.8rack (RUBY):
Affected version(s) >=3.0.0.beta1 <3.1.23 || >=3.0.0 <3.1.23Fix Suggestion:
Update to version 3.1.23rack (RUBY):
Affected version(s) >=1.0.0 <2.2.25 || >=2.0.0.alpha <2.2.25 || >=0.1.0 <2.2.25Fix Suggestion:
Update to version 2.2.25rack (RUBY):
Affected version(s) >=3.2.0 <3.2.8Fix Suggestion:
Update to version 3.2.8Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption