CVE-2025-61772Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory…
Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, `Rack::Multipart::Parser` can accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (`CRLFCRLF`). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS). Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected. Versions 2.2.19, 3.1.17, and 3.2.2 cap per-part header size (e.g., 64 KiB). As a workaround, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx `client_max_body_size`).
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-61772 |
| Ubuntu 24.04 | ruby-rack | Fixed | 2.2.7-1ubuntu0.5 | UBUNTU-CVE-2025-61772 |
| Ubuntu 22.04 | ruby-rack | Fixed | 2.1.4-5ubuntu1.2 | UBUNTU-CVE-2025-61772 |
| Ubuntu 20.04 | ruby-rack | Fix pending | UBUNTU-CVE-2025-61772 | |
| Ubuntu 18.04 | ruby-rack | Fix pending | UBUNTU-CVE-2025-61772 | |
| Ubuntu 16.04 | ruby-rack | Fix pending | UBUNTU-CVE-2025-61772 | |
| Ubuntu 14.04 | ruby-rack | Fix pending | UBUNTU-CVE-2025-61772 | |
| Debian 14 | ruby-rack | Fixed | 3.1.18-1 | DEBIAN-CVE-2025-61772 |
| Debian 13 | ruby-rack | Fixed | 3.1.18-1~deb13u1 | DEBIAN-CVE-2025-61772 |
| Debian 12 | ruby-rack | Fixed | 2.2.20-0+deb12u1 | DEBIAN-CVE-2025-61772 |
| 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.0-3.el10_0.3 | RHSA-2025:21036 |
| Red Hat Enterprise Linux 10 | pcs-snmp | Fixed | 0:0.12.1-1.el10_1.1 | RHSA-2025:19513 |
| Red Hat Enterprise Linux 9 | pcs | Fixed | 0:0.11.10-1.el9_7.1 | RHSA-2025:19512 |
| Red Hat Enterprise Linux 9 | pcs-snmp | Fixed | 0:0.11.10-1.el9_7.1 | RHSA-2025:19512 |
| 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 7 | pcs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | pcs-snmp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | python-clufter | Will not fix Out of support scope | ||
| 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.10-1.el9_7.1 | RLSA-2025:19512 |
| Rocky Linux 8 | pcs | Fixed | 0:0.10.18-2.el8_10.7 | RLSA-2025:19719 |
| RubyGems library | rack | Fixed | 3.2.2 | GHSA-wpv5-97wm-hp9c |
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.19, >= 3.1, < 3.1.17, >= 3.2, < 3.2.2
References
- https://github.com/rack/rack/security/advisories/GHSA-wpv5-97wm-hp9c
- https://github.com/rack/rack/commit/589127f4ac8b5cf11cf88fb0cd116ffed4d2181e
- https://github.com/rack/rack/commit/d869fed663b113b95a74ad53e1b5cae6ab31f29e
- https://github.com/rack/rack/commit/e08f78c656c9394d6737c022bde087e0f33336fd
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.