CVEfocus › CVE database › CVE-2025-61772

CVE-2025-61772Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory…

CVSS 7.5 HighEPSS 1.4% (higher than 72% of CVEs)Published 2025-10-07Updated 2025-10-07Assigner: GitHub_M

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`).

CWE-400

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

21Fixed
4Fix pending
3Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10ruby-rackFixed3.1.16-0.1ubuntu0.1UBUNTU-CVE-2025-61772
Ubuntu 24.04ruby-rackFixed2.2.7-1ubuntu0.5UBUNTU-CVE-2025-61772
Ubuntu 22.04ruby-rackFixed2.1.4-5ubuntu1.2UBUNTU-CVE-2025-61772
Ubuntu 20.04ruby-rackFix pendingUBUNTU-CVE-2025-61772
Ubuntu 18.04ruby-rackFix pendingUBUNTU-CVE-2025-61772
Ubuntu 16.04ruby-rackFix pendingUBUNTU-CVE-2025-61772
Ubuntu 14.04ruby-rackFix pendingUBUNTU-CVE-2025-61772
Debian 14ruby-rackFixed3.1.18-1DEBIAN-CVE-2025-61772
Debian 13ruby-rackFixed3.1.18-1~deb13u1DEBIAN-CVE-2025-61772
Debian 12ruby-rackFixed2.2.20-0+deb12u1DEBIAN-CVE-2025-61772
Red Hat Enterprise Linux 10cockpit-ha-clusterFixed0:0.12.1-1.el10_1.1RHSA-2025:19513
Red Hat Enterprise Linux 10pcsFixed0:0.12.0-3.el10_0.3RHSA-2025:21036
Red Hat Enterprise Linux 10pcs-snmpFixed0:0.12.1-1.el10_1.1RHSA-2025:19513
Red Hat Enterprise Linux 9pcsFixed0:0.11.10-1.el9_7.1RHSA-2025:19512
Red Hat Enterprise Linux 9pcs-snmpFixed0:0.11.10-1.el9_7.1RHSA-2025:19512
Red Hat Enterprise Linux 8pcsFixed0:0.10.18-2.el8_10.7RHSA-2025:19719
Red Hat Enterprise Linux 8pcs-snmpFixed0:0.10.18-2.el8_10.7RHSA-2025:19719
Red Hat Enterprise Linux 7pcsWill not fix
Out of support scope
Red Hat Enterprise Linux 7pcs-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-clufterWill not fix
Out of support scope
AlmaLinux 10cockpit-ha-clusterFixed0.12.1-1.el10_1.1ALSA-2025:21036
AlmaLinux 9pcsFixed0.11.10-1.el9_7.1ALSA-2025:20962
AlmaLinux 9pcs-snmpFixed0.11.10-1.el9_7.1ALSA-2025:20962
AlmaLinux 8pcsFixed0.10.18-2.el8_10.7.alma.1ALSA-2025:19719
AlmaLinux 8pcs-snmpFixed0.10.18-2.el8_10.7.alma.1ALSA-2025:19719
Rocky Linux 9pcsFixed0:0.11.10-1.el9_7.1RLSA-2025:19512
Rocky Linux 8pcsFixed0:0.10.18-2.el8_10.7RLSA-2025:19719
RubyGems libraryrackFixed3.2.2GHSA-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.

References

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.