CVE-2025-61770Uncontrolled Resource Consumption in Rack

Severity
7.5HIGHNVD
EPSS
0.2%
top 63.28%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 7
Latest updateJan 14

Description

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-

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

CVEListV5rack/rack< 2.2.19+2
NVDrack/rack3.1.03.1.17+2
RubyGemsrack/rack3.13.1.17+2

Patches

🔴Vulnerability Details

5
OSV
ruby-rack vulnerabilities2026-01-14
OSV
CVE-2025-61770: Rack is a modular Ruby web server interface2025-10-07
CVEList
Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)2025-10-07
GHSA
Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)2025-10-07
OSV
Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)2025-10-07

📋Vendor Advisories

3
Ubuntu
Rack vulnerabilities2026-01-14
Red Hat
rack: Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)2025-10-07
Debian
CVE-2025-61770: ruby-rack - Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17...2025