{"id":"ghsa-ghsa-f7cc-57h7-qrcg","seq":13099065,"kind":"advisory","title":"Rack: `Rack::QueryParser` separator pattern allocates ~48 bytes per space after `&`, allowing denial of service via memory amplification","url":"https://github.com/advisories/GHSA-f7cc-57h7-qrcg","permalink":"https://vulnpulse.app/items/ghsa-ghsa-f7cc-57h7-qrcg","summary":"影響: rubygems:rack < 2.2.26 → 2.2.26, rubygems:rack >= 3.0, < 3.1.24 → 3.1.24, rubygems:rack >= 3.2, < 3.2.9 → 3.2.9\nRack::QueryParser splits query strings and application/x-www-form-urlencoded bodies on the regular expression /& /n, which also consumes spaces following each &. Matching a long run of spaces with this pattern makes Ruby's regular expression engine allocate about 48 bytes of backtracking state per space, so an input consisting of & followed by spaces causes the process to allocate roughly 48 times the size of the input. This results in a denial of service condition through memory exhaustion for…","severity":"medium","cvss":null,"techs":["ruby"],"cves":["CVE-2026-142591"],"tags":["GHSA-f7cc-57h7-qrcg","rack","rack","rack"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-03T23:54:47.000Z","fetched_at":"2026-12-05T02:20:50.705Z"}