CVE-2026-142591: Rack: `Rack::QueryParser` separator pattern allocates ~48 bytes per space after `&`, allowing denial of service via memory amplification.
Vulnerability summary
CVE-2026-142591 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in rack. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.5% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
- 03-12-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · RubygemsEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard40 products
- commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.3All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.4All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.5All versions (No fix recorded)
Wolfi5 products
- logstash-9.3All versions (No fix recorded)
- ruby3.3-rack-2.2All versions (No fix recorded)
- ruby3.4-kube-logging-operator-fluentd-outputsAll versions (No fix recorded)
- ruby3.4-rack-2.2All versions (No fix recorded)
- ruby4.0-rack-2.2All versions (No fix recorded)
Rack1 product
- rack< 2.2.26 | ≥ 3.0.0, < 3.1.24 | ≥ 3.2.0, < 3.2.9
RubyGems1 product
- rack< 2.2.26 | ≥ 3.0, < 3.1.24 | ≥ 3.2, < 3.2.9
4 vendors · 47 products
References
10 links- github.com/rack/rackPACKAGE