# CVE-2025-61772: Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.2.19, 3.1.17, 3.2.2 (CNA); fix release not confirmed
- Status: published
- Published: 2025-10-07 · Modified: 2025-10-07
- Aliases: UBUNTU-CVE-2025-61772, DEBIAN-CVE-2025-61772, CGA-84vh-p88h-pcqc, CGA-862v-qv85-8vj4, CGA-cff5-83gv-53jm, CGA-g633-8wf7-jpm3, CGA-h4x8-37jj-7vj5, CGA-m8mp-v9q9-9x6v, CGA-p5pm-9264-3m2h, CGA-qfm6-j89g-54j9, CGA-v8p8-m8fq-r5gc, CGA-vq8w-p7x8-8g6r, CGA-22fx-gpw7-jmr4, CGA-2cmq-xfjh-9cgf, CGA-2gp9-gh6r-h77f, CGA-2j7j-r72w-5wqg, CGA-2mm3-wxr8-v8f9, CGA-2p6r-9gv4-r3w5, CGA-324r-vmq7-w5g8, CGA-37fm-xhp6-wpp6, CGA-3r6x-mv85-p5cr, CGA-3rmc-p5fx-hx7c, CGA-44qx-xm6p-vcf2, CGA-44r2-jw4j-5wc5, CGA-46pf-5m8c-7j2m, CGA-4m7g-h9r7-wfq3, CGA-4p84-pmrv-m3gx, CGA-4rrv-c8q7-3jj7, CGA-534v-5wv6-rc6w, CGA-565g-7ph3-pfpc, CGA-5682-8vf2-2cqq, CGA-59vx-r8j4-qf6g, CGA-5fw2-567x-4w45, CGA-5m49-mvgj-x7x9, CGA-5r2m-45q3-7hf7, CGA-5xq8-p2gq-cw97, CGA-67rx-4mv7-fcxc, CGA-6fmm-qxwq-6q3m, CGA-6jjp-7rmr-mgc8, CGA-6r66-6734-7hx2, CGA-7779-4chp-fjvc, CGA-7chw-v47g-rxwv, CGA-7gh6-3gc4-jjc5, CGA-7jgr-3v4j-qf78, CGA-7mxj-5r28-v5w5, CGA-85jx-738g-pxjr, CGA-88h5-vx97-h6m3, CGA-93ff-3757-3wxp, CGA-95p6-6c9f-hq83, CGA-962c-f743-vxrv, CGA-9cm2-fvvr-mfrc, CGA-9hg6-w7rv-35vp, CGA-9m44-jwwr-p3w8, CGA-9pm5-6wpf-42h9, CGA-c2x7-8pw4-v4gr, CGA-c357-5wmw-f6rq, CGA-cg6f-j4jq-g338, CGA-cvmc-mcg9-8x7g, CGA-f638-qpq5-r9xw, CGA-f7pv-2rxv-m84v, CGA-f86m-2vjf-h679, CGA-ff9f-p3x8-8xw4, CGA-fg3q-jj9m-qj48, CGA-fgj8-vjww-v3wj, CGA-fm8x-73qj-39qg, CGA-g2w6-99h8-4qpp, CGA-g67f-8p4j-6x2v, CGA-g95p-frpw-c5gp, CGA-gf55-fhrj-r65v, CGA-gm64-hg6r-p3c5, CGA-gqmf-fpr9-9rpg, CGA-hvc5-x2c7-c2w4, CGA-hvwc-p78j-jg52, CGA-hxh5-x9qr-m89v, CGA-j6v9-2xq6-9g82, CGA-j8c4-557c-32px, CGA-jjhm-98vm-2vx5, CGA-jp75-f7wp-qj4q, CGA-jp7m-jq3r-8jv4, CGA-jq3r-q274-q66g, CGA-mf85-7q8h-hx4h, CGA-mg44-92vg-wvvp, CGA-phfg-44cg-5j4x, GHSA-wpv5-97wm-hp9c, CGA-q4mp-2mq6-qw22, CGA-qhx2-24w4-p2x4, CGA-qjv2-4vv4-g8hp, CGA-qr3c-mw3x-x8cw, CGA-v264-w423-h47m, CGA-v55m-837g-5qw2, CGA-v75r-3gg2-4c87, CGA-v7q5-v7x9-fvc9, CGA-v8qq-383c-f33c, CGA-v9f5-5f66-gh5w, CGA-vc9c-7m57-9jv2, CGA-vcg4-6v3g-fc22, CGA-wc48-85qp-fqx6, CGA-wgg2-2h4h-7mpm, CGA-wxjc-wq4p-4r36, CGA-x4wx-fmr5-wr28, CGA-x99c-f45p-fjjc, CGA-xc6f-fp7r-jh89, CGA-xmj2-f8v3-f5xf
- Record: https://cvemate.com/vulnerability/CVE-2025-61772 · JSON: https://cvemate.com/vulnerability/CVE-2025-61772/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.976%, percentile 63.289%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 59)

- chainguard gitlab-cng-18.2 (Chainguard): \< 18.2.8-r0
- chainguard gitlab-logger-18.2 (Chainguard): \< 18.2.8-r0
- chainguard gitlab-logger-18.3 (Chainguard): \< 18.3.4-r0
- chainguard gitlab-logger-18.4 (Chainguard): \< 18.4.2-r0
- chainguard gitlab-rails-ce-18.1 (Chainguard): \< 18.1.6-r13
- chainguard gitlab-rails-ce-18.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.2 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17 (Chainguard): \< 8.17.10-r3
- chainguard logstash-8.17-compat (Chainguard): \< 8.17.10-r3
- chainguard logstash-8.17-env2yaml (Chainguard): \< 8.17.10-r3
- chainguard logstash-8.17-iamguarded-compat (Chainguard): \< 8.17.10-r3
- chainguard logstash-8.17-with-output-opensearch (Chainguard): \< 8.17.10-r3
- chainguard logstash-8.18 (Chainguard): \< 8.18.8-r1
- chainguard logstash-8.18-compat (Chainguard): \< 8.18.8-r1
- chainguard logstash-8.18-env2yaml (Chainguard): \< 8.18.8-r1
- chainguard logstash-8.18-iamguarded-compat (Chainguard): \< 8.18.8-r1
- chainguard logstash-8.18-with-output-opensearch (Chainguard): \< 8.18.8-r1
- chainguard logstash-8.19 (Chainguard): \< 8.19.5-r1
- chainguard logstash-8.19-compat (Chainguard): \< 8.19.5-r1

## 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>
- <https://ubuntu.com/security/CVE-2025-61772>
- <https://www.cve.org/CVERecord?id=CVE-2025-61772>
- <https://ubuntu.com/security/notices/USN-7960-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-61772>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61772.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61772>
- <https://github.com/rack/rack>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-61772.yml>

---

Data as of 2026-12-05T07:24:27.498Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
