PT-2026-166331
CVE-2026-142591
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions
Rack versions prior to 2.2.26
Rack versions prior to 3.1.24
Rack versions prior to 3.2.9
Description
Rack::QueryParser uses quantified
DEFAULT SEP and COMMON SEP regular expressions when splitting query strings and application/x-www-form-urlencoded bodies. Additionally, params hash has key? and the Rack 2.2 normalize params path use quantified expressions for bracketed parameter names. An unauthenticated attacker can send requests containing long runs of spaces after an ampersand or long runs of bracket characters in a parameter name, causing the Ruby regular expression engine to allocate approximately 48 bytes of backtracking state per input character. This leads to substantial transient memory allocation, and concurrent requests can exhaust process or container memory. The RACK QUERY PARSER BYTESIZE LIMIT and RACK QUERY PARSER PARAMS LIMIT settings do not prevent this amplification.Recommendations
Update to version 2.2.26
Update to version 3.1.24
Update to version 3.2.9
Found an issue in the description? Have something to add? Feel free to write us 👾