7.5

CVE-2025-61771: Rack's multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)

Analyzed
AliasesUBUNTU-CVE-2025-61771DEBIAN-CVE-2025-61771CGA-27jv-6856-q8vq
Published 07-10-2025Last modified 07-10-2025

Vulnerability summary

CVE-2025-61771 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in rack. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 49.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.59%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 5

Timeline

  1. 07-10-2025
    PublishedVulnerability first disclosed.
  2. 07-10-2025
    Last modifiedVulnerability information updated.

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` stores non-file form fields (parts without a `filename`) entirely in memory as Ruby `String` objects. A single large text field in a multipart/form-data request (hundreds of megabytes or more) can consume equivalent process memory, potentially leading to out-of-memory (OOM) conditions and denial of service (DoS). Attackers can send large non-file fields to trigger excessive memory usage. Impact scales with request size and concurrency, potentially leading to worker crashes or severe garbage-collection overhead. All Rack applications processing multipart form submissions are affected. Versions 2.2.19, 3.1.17, and 3.2.2 enforce a reasonable size cap for non-file fields (e.g., 2 MiB). Workarounds include restricting maximum request body size at the web-server or proxy layer (e.g., Nginx `client_max_body_size`) and validating and rejecting unusually large form fields at the application level.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.59%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.56% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard50 products
  • gitlab-cng-18.2< 18.2.8-r0
  • gitlab-logger-18.2< 18.2.8-r0
  • gitlab-logger-18.3< 18.3.4-r0
  • gitlab-logger-18.4< 18.4.2-r0
  • gitlab-rails-ce-18.1< 18.1.6-r13
Wolfi5 products
  • gitlab-cng-18.2< 18.2.8-r0
  • ruby3.2-rack-2.2< 2.2.22-r0
  • ruby3.3-rack-2.2< 2.2.22-r0
  • ruby3.4-rack-2.2< 2.2.22-r0
  • ruby4.0-rack-2.2< 2.2.22-r0
Debian1 product
  • ruby-rack< 2.2.20-0+deb12u1 | < 3.1.18-1~deb13u1 | < 3.1.18-1
Rack1 product
  • rack≥ 3.1, < 3.1.17 | ≥ 3.2, < 3.2.2 | < 2.2.19 | ≥ 3.1.0, < 3.1.17 | ≥ 3.2.0, < 3.2.2
RubyGems1 product
  • rack< 2.2.19 | ≥ 3.1, < 3.1.17 | ≥ 3.2, < 3.2.2
Ubuntu1 product
  • ruby-rackAll versions (No fix recorded) | < 2.1.4-5ubuntu1.2 | < 2.2.7-1ubuntu0.5 | < 3.1.16-0.1ubuntu0.1

6 vendors · 59 products

References

12 links
Show all 12 references