CVE-2026-125111rack
High 7.5 No auth needed
Follow: this CVE · rack · rack We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Nov 9, 2026
- Updated
- Nov 12, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for rack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack |
< 2.2.25 |
2.2.25 |
gem "rack", ">= 2.2.25" |
| RubyGems | rack |
≥ 3.0.0 < 3.1.23 |
3.1.23 |
gem "rack", ">= 3.1.23" |
| RubyGems | rack |
≥ 3.2.0 < 3.2.8 |
3.2.8 |
gem "rack", ">= 3.2.8" |
Per OSV / GitHub Advisories (GHSA-5v64-555j-wjxm). Check the version in your lockfile before upgrading.
Affected products
- rack · rack
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- ruby4.0-rubygem-rack-2.2-2.2.25-1.1 on GA media · SUSE · openSUSE-SU-2026:12678-1 · Nov 24, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.