# CVE-2026-34826: Rack: Unbounded Range Count in get_byte_ranges Enables DoS

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-04-02T16:45:53.964Z
- Modified: 2026-09-10T03:51:03.883Z
- Also known as: GHSA-x8cg-fq8g-mxfx
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- rack rack: < 2.2.23; >= 3.0.0.beta1, < 3.1.21; >= 3.2.0, < 3.2.6; before 2.2.23; from 3.0.0 before 3.1.21; from 3.2.0 before 3.2.6
- rack (RubyGems): before 2.2.23; from 3.0.0.beta1 before 3.1.21; from 3.2.0 before 3.2.6

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-34826](https://www.cve.org/CVERecord?id=CVE-2026-34826), CVE Terms of Use, modified 2026-04-03
- GitHub Advisory Database: [GHSA-x8cg-fq8g-mxfx](https://github.com/advisories/GHSA-x8cg-fq8g-mxfx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-34826](https://nvd.nist.gov/vuln/detail/CVE-2026-34826), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-34826 · Whole record: https://cve.day/CVE-2026-34826.json · Rebuilt by cve.day 2026-11-25T22:59:17.810Z
