CVE-2026-34826
HIGH 7.5CVSS 3.1Rack's multipart byte range processing allows denial of service via excessive overlapping ranges
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.get_byte_ranges parses the HTTP Range header without limiting the number of individual byte ranges. Although the existing fix for CVE-2024-26141 rejects ranges whose total byte coverage exceeds the file size, it does not restrict the count of ranges. An attacker can supply many small overlapping ranges such as 0-0,0-0,0-0,... to trigger disproportionate CPU, memory, I/O, and bandwidth consumption per request. This results in a denial of service condition in Rack file-serving paths that process multipart byte range responses. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
- Published
- 2 Apr 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-x8cg-fq8g-mxfx
- Sources
- NVDJSONOSV GHSA-x8cg-fq8g-mxfxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
< 2.2.23 | 2.2.23 |
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
>= 3.0.0, < 3.1.21 | 3.1.21 |
| NVD | rack | rackcpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* |
>= 3.2.0, < 3.2.6 | 3.2.6 |
| OSV | RubyGems | rack | < 2.2.23 | 2.2.23 |
| OSV | RubyGems | rack | >= 3.0.0.beta1, < 3.1.21 | 3.1.21 |
| OSV | RubyGems | rack | >= 3.2.0, < 3.2.6 | 3.2.6 |
References
- https://github.com/rack/rack/security/advisories/GHSA-x8cg-fq8g-mxfx · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34826 · ADVISORY
- https://github.com/rack/rack · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2026-34826.yml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Apr 2026)