Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-125111— Rack: Multipart parsing allows DoS via unbounded scan buffer growth

Quick assessment

Affected
rack rack
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Rack 是一个模块化的 Ruby Web 服务器接口。在 2.2.25、3.1.23 和 3.2.8 版本之前,当读取操作在 multipart 头部内部或紧接其后结束时,Rack::Multipart::Parser 会将其解析后的数据保留在内部的 StringScanner 缓冲区中。未认证的攻击者可以通过将大量小型部分与 rack.multipart.buffer_size 边界对齐,使得缓冲区在请求过程中持续增长,即使存在针对字段、头部和前言的单独限制,最终导致工作进程耗尽内存。该攻击仅需构造一个格式正确

CVSS 7.5 · High

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-125111

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Rack: Multipart parsing allows DoS via unbounded scan buffer growth
Source: CVE Program / CVE List V5
Vulnerability Description
Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser can retain parsed data in its internal StringScanner buffer when reads end inside or immediately after multipart headers. An unauthenticated attacker can align many small parts with rack.multipart.buffer_size boundaries so the buffer grows with the request despite per-field, header, and preamble limits, causing a worker to exhaust memory. The attack requires only a well-formed multipart body and affects applications that parse multipart requests. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
rack rack < 2.2.25 -

II. Public POCs for CVE-2026-125111

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-125111

请登录查看更多情报信息。

Other References for CVE-2026-125111 (4)

Same Patch Batch · rack · 2026-11-09 · 4 CVEs total

CVE-2026-125110 5.3 MEDIUM Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch
CVE-2026-125109 4.8 MEDIUM Rack: Rack::Request#host_with_port (and #base_url / #url) return the raw invalid Host head
CVE-2026-125108 3.7 LOW Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a

IV. Related Vulnerabilities