{"id":"CVE-2026-34827","published":"2026-04-02T17:07:48Z","modified":"2026-07-15T01:03:40Z","title":"Rack: Algorithmic-Complexity DoS in Rack::Multipart::Parser","vendor":"rack","product":"rack","tier":"tail","description":{"text":"Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Multipart::Parser#handle_mime_head parses quoted multipart parameters such as Content-Disposition: form-data; name=\"...\" using repeated String#index searches combined with String#slice! prefix deletion. For escape-heavy quoted values, this causes super-linear processing. An unauthenticated attacker can send a crafted multipart/form-data request containing many parts with long backslash-escaped parameter values to trigger excessive CPU usage during multipart parsing. This results in a denial of service condition in Rack applications that accept multipart form data. This issue has been patched in versions 3.1.21 and 3.2.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00505,"percentile":0.4406,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-v6x5-cg8r-vv6x","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-34827","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2454501","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34827.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.81},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"rack","affectedVersions":[{"vendor":"rack","product":"rack","versions":[">= 3.0.0.beta1, < 3.1.21",">= 3.2.0, < 3.2.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-02T18:42:04.834994Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"rack","vulnerableRanges":[">=3.0.0.beta1, <3.1.21",">=3.2.0, <3.2.6"],"patched":["3.1.21","3.2.6"],"from":["GHSA-v6x5-cg8r-vv6x"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-18474","exploited":false,"provenance":"source"}}