Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-142591
Published:December 02, 2026
Updated:December 03, 2026
Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::QueryParser uses the quantified DEFAULT_SEP and COMMON_SEP regular expressions when splitting query strings and application/x-www-form-urlencoded bodies, while params_hash_has_key? and the Rack 2.2 normalize_params path use quantified expressions for bracketed parameter names. Long runs of spaces after an ampersand, or long runs of bracket characters in a parameter name, cause Ruby's regular expression engine to allocate approximately 48 bytes of backtracking state per input character. RACK_QUERY_PARSER_BYTESIZE_LIMIT bounds the request size but not this amplification, and RACK_QUERY_PARSER_PARAMS_LIMIT does not prevent it because very few parameters are required. An unauthenticated attacker can cause substantial transient memory allocation with one request, and concurrent requests can exhaust process or container memory. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.
Affected Packages
https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=0.1 <v2.2.26 || >=1.0 <v2.2.26 || >=2.0.0.alpha <v2.2.26 || >=v2.0.9.2 <v2.2.26
Fix Suggestion:
Update to version v2.2.26
https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=3.0.0.beta1 <v3.1.24 || >=v3.0.1 <v3.1.24
Fix Suggestion:
Update to version v3.1.24
https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=v3.2.0 <v3.2.9
Fix Suggestion:
Update to version v3.2.9
rack (RUBY):
Affected version(s) >=3.0.0.beta1 <3.1.24
Fix Suggestion:
Update to version 3.1.24
rack (RUBY):
Affected version(s) >=3.2.0 <3.2.9
Fix Suggestion:
Update to version 3.2.9
rack (RUBY):
Affected version(s) >=0.1.0 <2.2.26 || >=1.0.0 <2.2.26 || >=2.0.0.alpha <2.2.26
Fix Suggestion:
Update to version 2.2.26
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
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
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Uncontrolled Resource Consumption