Rack: Multipart parsing allows DoS via unbounded scan buffer growth
CVE-2026-125111Published 9 Nov 2026, 22:02 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| rackCommon | < 2.2.25; >= 3.0, < 3.1.23; >= 3.2, < 3.2.8 | 2.2.25, 3.1.23, 3.2.8 |
What to do
Update to a fixed version: 2.2.25, 3.1.23, 3.2.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 45), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 9 Nov 2026 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-400
References
- https://github.com/rack/rack/security/advisories/GHSA-5v64-555j-wjxmvendor-advisory
- https://github.com/rack/rack/commit/244e75a840cee0823f86d5d01dc374505a8abed8misc
- https://github.com/rack/rack/commit/2eaa5b1026a03a43b6537b1a0b233707ba887702misc
- https://github.com/rack/rack/commit/c9b4698595050838342bd3b5a0fc9ab908065f8fmisc
- CVE-2026-125111 on CVE.org