# CVE-2025-61919: Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing

- Severity: High 7.5 (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:H`
- 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.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2025-10-10T17:33:35.000Z
- Modified: 2026-10-19T16:10:00.260Z
- Also known as: GHSA-6xw4-3v39-52mm
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Rack is a modular Ruby web server interface. Prior to versions 2.2.20, 3.1.18, and 3.2.3, `Rack::Request#POST` reads the entire request body into memory for `Content-Type: application/x-www-form-urlencoded`, calling `rack.input.read(nil)` without enforcing a length or cap. Large request bodies can therefore be buffered completely into process memory before parsing, leading to denial of service (DoS) through memory exhaustion. Users should upgrade to Rack version 2.2.20, 3.1.18, or 3.2.3, anu of which enforces form parameter limits using `query_parser.bytesize_limit`, preventing unbounded reads of `application/x-www-form-urlencoded` bodies. Additionally, enforce strict maximum body size at the proxy or web server layer (e.g., Nginx `client_max_body_size`, Apache `LimitRequestBody`).

(As written by CVE List.)

## Affected

- rack rack: < 2.2.20; >= 3.0, < 3.1.18; >= 3.2, < 3.2.3; before 2.2.20; from 3.0.0 before 3.1.18; from 3.2.0 before 3.2.3
- rack (RubyGems): before 2.2.20; from 3.0 before 3.1.18; from 3.2 before 3.2.3

## Every score

- GitHub_M: 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`
- GitHub: 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-6xw4-3v39-52mm> (mitigation, third-party-advisory, web)
- <https://github.com/rack/rack/commit/4e2c903991a790ee211a3021808ff4fd6fe82881> (patch, web)
- <https://github.com/rack/rack/commit/cbd541e8a3d0c5830a3c9a30d3718ce2e124f9db> (patch, web)
- <https://github.com/rack/rack/commit/e179614c4a653283286f5f046428cbb85f21146f> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61919> (advisory)
- <https://github.com/rack/rack> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-61919.yml> (web)

## Sources

- CVE List: [CVE-2025-61919](https://www.cve.org/CVERecord?id=CVE-2025-61919), CVE Terms of Use, modified 2025-10-10
- GitHub Advisory Database: [GHSA-6xw4-3v39-52mm](https://github.com/advisories/GHSA-6xw4-3v39-52mm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-61919](https://nvd.nist.gov/vuln/detail/CVE-2025-61919), Public domain, modified 2026-10-19

---

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