CVE-2026-125111
HIGH 7.5CVSS 3.1Rack: Multipart parsing allows DoS via unbounded scan buffer growth
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.
- Published
- 9 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400
- Also known as
- GHSA-5v64-555j-wjxm
- Sources
- NVDJSONOSV GHSA-5v64-555j-wjxmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | rack | < 2.2.25 | 2.2.25 |
| OSV | RubyGems | rack | >= 3.0.0, < 3.1.23 | 3.1.23 |
| OSV | RubyGems | rack | >= 3.2.0, < 3.2.8 | 3.2.8 |
References
- https://github.com/rack/rack/commit/244e75a840cee0823f86d5d01dc374505a8abed8 · WEB
- https://github.com/rack/rack/commit/2eaa5b1026a03a43b6537b1a0b233707ba887702 · WEB
- https://github.com/rack/rack/commit/c9b4698595050838342bd3b5a0fc9ab908065f8f · WEB
- https://github.com/rack/rack/security/advisories/GHSA-5v64-555j-wjxm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-125111 · ADVISORY
- https://github.com/rack/rack · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/GHSA-5v64-555j-wjxm.yml · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 9 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 2026)