cve.bz

CVE-2025-61770 rack rack: Uncontrolled Resource Consumption

7.5 highEPSS 1.0%Fix available

High (7.5) in rack rack. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in rack 2.2.19, 3.1.17, 3.2.2.

On this page
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` buffers the entire multipart preamble (bytes before the first boundary) in memory without any size limit. A client can send a large preamble followed by a valid boundary, causing significant memory use and potential process termination due to out-of-memory (OOM) conditions. Remote attackers can trigger large transient memory spikes by including a long preamble in multipart/form-data requests. The impact scales with allowed request sizes and concurrency, potentially causing worker crashes or severe slowdown due to garbage collection. Versions 2.2.19, 3.1.17, and 3.2.2 enforce a preamble size limit (e.g., 16 KiB) or discard preamble data entirely. Workarounds include limiting total request body size at the proxy or web server level and monitoring memory and set per-process limits to prevent OOM conditions.

Severity

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
EPSS
1.0% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-61770 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61770?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61770?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-61770 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rack:rackbefore 2.2.19
rack:rackfrom 3.1.0 before 3.1.17
rack:rackfrom 3.2.0 before 3.2.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p543-xpfm-54cpRubyGemsrack<2.2.192.2.19
GHSA-p543-xpfm-54cpRubyGemsrack>=3.1 <3.1.173.1.17
GHSA-p543-xpfm-54cpRubyGemsrack>=3.2 <3.2.23.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ruby-rack2.1.4-3+deb11u4DLA-4357-1
Debian12ruby-rack2.2.20-0+deb12u1DEBIAN-CVE-2025-61770 DSA-6048-1
Debian13ruby-rack3.1.18-1~deb13u1DEBIAN-CVE-2025-61770 DSA-6048-1
Debian14ruby-rack3.1.18-1DEBIAN-CVE-2025-61770
Ubuntu22.04:LTSruby-rack2.1.4-5ubuntu1.2UBUNTU-CVE-2025-61770
Ubuntu24.04:LTSruby-rack2.2.7-1ubuntu0.5UBUNTU-CVE-2025-61770
Ubuntu25.10ruby-rack3.1.16-0.1ubuntu0.1UBUNTU-CVE-2025-61770
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moreruby-rackno fix listedUBUNTU-CVE-2025-61770
Red Hatenterprise_linux:7::serverpcs, pcs-snmp, pcs-debuginfo0:0.9.169-3.el7_9.5RHSA-2025:21696
Red Hatenterprise_linux:8::highavailability, enterprise_linux:8::resilientstoragepcs, pcs-snmp0:0.10.18-2.el8_10.7RHSA-2025:19719
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragepcs, pcs-snmp0:0.11.10-1.el9_7.1RHSA-2025:20962
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragepcs, pcs-snmp0:0.11.9-2.el9_6.2RHSA-2025:19512
Red Hatenterprise_linux:10.0pcs, pcs-snmp, cockpit-ha-cluster0:0.12.0-3.el10_0.3RHSA-2025:19513
Red Hatenterprise_linux:10.1pcs, pcs-snmp, cockpit-ha-cluster0:0.12.1-1.el10_1.1RHSA-2025:21036
Red Hatrhel_aus:8.4::highavailability, rhel_eus_long_life:8.4::highavailabilitypcs, pcs-snmp0:0.10.8-1.el8_4.8RHSA-2025:19948
Red Hatrhel_e4s:8.6::highavailability, rhel_tus:8.6::highavailabilitypcs, pcs-snmp0:0.10.12-6.el8_6.10RHSA-2025:19734
Red Hatrhel_e4s:8.8::highavailability, rhel_tus:8.8::highavailabilitypcs, pcs-snmp0:0.10.15-4.el8_8.9RHSA-2025:19647
Red Hatrhel_e4s:9.0::highavailability, rhel_e4s:9.0::resilientstoragepcs, pcs-snmp0:0.11.1-10.el9_0.9RHSA-2025:19800
Red Hatrhel_e4s:9.2::highavailability, rhel_e4s:9.2::resilientstoragepcs, pcs-snmp0:0.11.4-7.el9_2.6RHSA-2025:19733
Red Hatrhel_eus:9.4::highavailability, rhel_eus:9.4::resilientstoragepcs, pcs-snmp0:0.11.7-2.el9_4.5RHSA-2025:19736
openSUSETumbleweedrubygem-rack-2.22.2.19-1.1openSUSE-SU-2025:15621-1
openSUSETumbleweedrubygem-rack-2.22.2.22-1.1openSUSE-SU-2026:10286-1
AlmaLinux8pcs, pcs-snmp0.10.18-2.el8_10.7.alma.1ALSA-2025:19719
AlmaLinux9pcs, pcs-snmp0.11.10-1.el9_7.1ALSA-2025:20962
AlmaLinux10cockpit-ha-cluster0.12.1-1.el10_1.1ALSA-2025:21036
Rocky Linux8pcs0:0.10.18-2.el8_10.7RLSA-2025:19719
Rocky Linux9pcs0:0.11.10-1.el9_7.1RLSA-2025:20962
Rocky Linux9pcs0:0.11.9-2.el9_6.2RLSA-2025:19512

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is IMPORTANT because the vulnerability can be exploited over a network and can cause denial of service on such applications that run the vulnerable Rack code. By sending multipart requests with large preambles, an attacker can exhaust memory resources or crash worker processes, leading to service downtime.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10pcs-0:0.12.0-3.el10_0.3Fixed 2025-11-03RHSA-2025:19513
Red Hat Enterprise Linux 10pcs-0:0.12.1-1.el10_1.1Fixed 2025-11-11RHSA-2025:21036
Red Hat Enterprise Linux 7 Extended Lifecycle Supportpcs-0:0.9.169-3.el7_9.5Fixed 2025-11-18RHSA-2025:21696
Red Hat Enterprise Linux 8pcs-0:0.10.18-2.el8_10.7Fixed 2025-11-04RHSA-2025:19719
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpcs-0:0.10.8-1.el8_4.8Fixed 2025-11-10RHSA-2025:19948
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpcs-0:0.10.8-1.el8_4.8Fixed 2025-11-10RHSA-2025:19948
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepcs-0:0.10.12-6.el8_6.10Fixed 2025-11-04RHSA-2025:19734
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionspcs-0:0.10.12-6.el8_6.10Fixed 2025-11-04RHSA-2025:19734
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepcs-0:0.10.15-4.el8_8.9Fixed 2025-11-04RHSA-2025:19647
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspcs-0:0.10.15-4.el8_8.9Fixed 2025-11-04RHSA-2025:19647
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Not affected
Red Hat 3scale API Management Platform 23scale-amp21/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp22/zyncWill not fix
49 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-61770.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON