CVE-2026-125111Rack: Multipart parsing allows DoS via unbounded scan buffer growth
- 7.5HighCVSS base score
- 0.66%Exploitation in 30 daysEPSS · top 54% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
Published
- 3 days later
· 3 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.66% · top 54% of all CVEs (28 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrackGHSA-5v64-555j-wjxm (opens in a new tab)
References
References4
- https://github.com/rack/rack/security/advisories/GHSA-5v64-555j-wjxm (opens in a new tab)x_refsource_CONFIRM
- https://github.com/rack/rack/commit/244e75a840cee0823f86d5d01dc374505a8abed8 (opens in a new tab)x_refsource_MISC
- https://github.com/rack/rack/commit/2eaa5b1026a03a43b6537b1a0b233707ba887702 (opens in a new tab)x_refsource_MISC
- https://github.com/rack/rack/commit/c9b4698595050838342bd3b5a0fc9ab908065f8f (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-120485 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5v64-555j-wjxm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-125111)Record last updated .