# CVE-2024-26141: Possible DoS Vulnerability with Range Header in Rack

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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): 1.61%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2024-02-28T22:57:12.000Z
- Modified: 2026-09-10T03:50:00.330Z
- Also known as: GHSA-xj5v-6v4g-jfw6
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applications will use the `Rack::File` middleware or the `Rack::Utils.byte_ranges` methods (this includes Rails applications). The vulnerability is fixed in 3.0.9.1 and 2.2.8.1.

(As written by CVE List.)

## Affected

- rack rack: >= 3.0.0, < 3.0.9.1; >= 1.3.0, < 2.2.8.1; from 1.3.0 before 2.2.8.1; from 3.0.0 before 3.0.9.1
- rack_project rack: from 3.0.0 before 3.0.9.1; from 1.3.0 before 2.2.8.1
- rack (RubyGems): from 3.0.0 before 3.0.9.1; from 1.3.0 before 2.2.8.1
- debian debian_linux: 10.0

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L`
- GitHub: rating Low
- 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-xj5v-6v4g-jfw6> (exploit, vendor-advisory, web)
- <https://discuss.rubyonrails.org/t/possible-dos-vulnerability-with-range-header-in-rack/84944> (exploit, vendor-advisory, web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2024-26141.yml> (exploit, third-party-advisory, web)
- <https://github.com/rack/rack/commit/4849132bef471adb21131980df745f4bb84de2d9> (patch, web)
- <https://github.com/rack/rack/commit/62457686b26d33a15a254c7768c2076e8e02b48b> (patch, web)
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00022.html> (mailing-list)
- <https://security.netapp.com/advisory/ntap-20240510-0007/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-26141> (advisory)
- <https://github.com/rack/rack> (package)

## Sources

- CVE List: [CVE-2024-26141](https://www.cve.org/CVERecord?id=CVE-2024-26141), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-xj5v-6v4g-jfw6](https://github.com/advisories/GHSA-xj5v-6v4g-jfw6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-26141](https://nvd.nist.gov/vuln/detail/CVE-2024-26141), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26141 · Whole record: https://cve.day/CVE-2024-26141.json · Rebuilt by cve.day 2026-11-25T22:58:37.122Z
