CVE-2025-61919Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing
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`).
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, RubyGems, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | ruby-rack | Fixed | 3.1.16-0.1ubuntu0.1 | UBUNTU-CVE-2025-61919 |
| Ubuntu 24.04 | ruby-rack | Fixed | 2.2.7-1ubuntu0.5 | UBUNTU-CVE-2025-61919 |
| Ubuntu 22.04 | ruby-rack | Fixed | 2.1.4-5ubuntu1.2 | UBUNTU-CVE-2025-61919 |
| Ubuntu 20.04 | ruby-rack | Fix pending | 2.0.7-2ubuntu0.1+esm8 (Ubuntu Pro) | UBUNTU-CVE-2025-61919 |
| Ubuntu 18.04 | ruby-rack | Fix pending | UBUNTU-CVE-2025-61919 | |
| Ubuntu 16.04 | ruby-rack | Fix pending | UBUNTU-CVE-2025-61919 | |
| Ubuntu 14.04 | ruby-rack | Fix pending | UBUNTU-CVE-2025-61919 | |
| Debian 14 | ruby-rack | Fixed | 3.1.18-1 | DEBIAN-CVE-2025-61919 |
| Debian 13 | ruby-rack | Fixed | 3.1.18-1~deb13u1 | DEBIAN-CVE-2025-61919 |
| Debian 12 | ruby-rack | Fixed | 2.2.20-0+deb12u1 | DEBIAN-CVE-2025-61919 |
| Red Hat Enterprise Linux 10 | cockpit-ha-cluster | Fixed | 0:0.12.1-1.el10_1.1 | RHSA-2025:19513 |
| Red Hat Enterprise Linux 10 | pcs | Fixed | 0:0.12.1-1.el10_1.1 | RHSA-2025:19513 |
| Red Hat Enterprise Linux 10 | pcs-snmp | Fixed | 0:0.12.1-1.el10_1.1 | RHSA-2025:19513 |
| Red Hat Enterprise Linux 10 | ruby | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-bundled-gems | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-default-gems | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-bigdecimal | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-bundler | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-io-console | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-irb | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-json | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-minitest | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-power_assert | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-psych | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-racc | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rake | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rbs | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rdoc | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rexml | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-rss | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-test-unit | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygem-typeprof | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygems | Not affected | ||
| Red Hat Enterprise Linux 10 | rubygems-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs | Fixed | 0:0.11.10-1.el9_7.1 | RHSA-2025:20962 |
| Red Hat Enterprise Linux 9 | pcs-snmp | Fixed | 0:0.11.9-2.el9_6.2 | RHSA-2025:20962 |
| Red Hat Enterprise Linux 9 | ruby | Not affected | ||
| Red Hat Enterprise Linux 9 | ruby-default-gems | Not affected | ||
| Red Hat Enterprise Linux 9 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | ruby-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-bigdecimal | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-bundler | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-io-console | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-irb | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-json | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-minitest | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-power_assert | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-psych | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-rake | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-rbs | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-rdoc | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-rexml | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-rss | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-test-unit | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygem-typeprof | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygems | Not affected | ||
| Red Hat Enterprise Linux 9 | rubygems-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Fixed | 0:0.10.18-2.el8_10.7 | RHSA-2025:19719 |
| Red Hat Enterprise Linux 8 | pcs-snmp | Fixed | 0:0.10.18-2.el8_10.7 | RHSA-2025:19719 |
| Red Hat Enterprise Linux 8 | ruby | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-bundled-gems | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-default-gems | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-irb | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-abrt | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-abrt-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bigdecimal | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bson | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bson-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bundler | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bundler-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-did_you_mean | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-io-console | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-irb | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-json | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-minitest | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mongo | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mongo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mysql2 | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mysql2-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-net-telnet | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-pg | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-pg-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-power_assert | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-psych | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-racc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rake | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rbs | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rdoc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rexml | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rss | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-test-unit | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-typeprof | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-xmlrpc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygems | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygems-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | pcs | Fixed | 0:0.9.169-3.el7_9.5 | RHSA-2025:21696 |
| Red Hat Enterprise Linux 7 | pcs-snmp | Fixed | 0:0.9.169-3.el7_9.5 | RHSA-2025:21696 |
| Red Hat Enterprise Linux 7 | ruby | Not affected | ||
| Red Hat Enterprise Linux 7 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ruby-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | ruby-irb | Not affected | ||
| Red Hat Enterprise Linux 7 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | ruby-tcltk | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygem-bigdecimal | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygem-io-console | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygem-json | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygem-minitest | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygem-psych | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygem-rake | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygem-rdoc | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygems | Not affected | ||
| Red Hat Enterprise Linux 7 | rubygems-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-docs | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-irb | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-rdoc | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-ri | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-static | Not affected | ||
| Red Hat Enterprise Linux 6 | ruby-tcltk | Not affected | ||
| AlmaLinux 10 | cockpit-ha-cluster | Fixed | 0.12.1-1.el10_1.1 | ALSA-2025:21036 |
| AlmaLinux 9 | pcs | Fixed | 0.11.10-1.el9_7.1 | ALSA-2025:20962 |
| AlmaLinux 9 | pcs-snmp | Fixed | 0.11.10-1.el9_7.1 | ALSA-2025:20962 |
| AlmaLinux 8 | pcs | Fixed | 0.10.18-2.el8_10.7.alma.1 | ALSA-2025:19719 |
| AlmaLinux 8 | pcs-snmp | Fixed | 0.10.18-2.el8_10.7.alma.1 | ALSA-2025:19719 |
| Rocky Linux 9 | pcs | Fixed | 0:0.11.9-2.el9_6.2 | RLSA-2025:20962 |
| Rocky Linux 8 | pcs | Fixed | 0:0.10.18-2.el8_10.7 | RLSA-2025:19719 |
| RubyGems library | rack | Fixed | 3.2.3 | GHSA-6xw4-3v39-52mm |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- rack: affected: < 2.2.20, >= 3.0, < 3.1.18, >= 3.2, < 3.2.3
References
- https://github.com/rack/rack/security/advisories/GHSA-6xw4-3v39-52mm
- https://github.com/rack/rack/commit/4e2c903991a790ee211a3021808ff4fd6fe82881
- https://github.com/rack/rack/commit/cbd541e8a3d0c5830a3c9a30d3718ce2e124f9db
- https://github.com/rack/rack/commit/e179614c4a653283286f5f046428cbb85f21146f
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.