CVE-2026-125111
published high CVSS 3.1 · 7.5Rack: Multipart parsing allows DoS via unbounded scan buffer growth
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rack | — | rack< 2.2.25 · >= 3.0, < 3.1.23 · >= 3.2, < 3.2.8 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3474 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2aarch64 | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
| Amazon Linux | AL2023 | pcsaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3474 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2ppc64le | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2s390x | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2x86_64 | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | pcsnoarch | Listed in advisory | Not stated | ALAS2023-2026-3474 |
| Amazon Linux | AL2023 | pcssrc | Listed in advisory | Not stated | ALAS2023-2026-3474 |
| Amazon Linux | AL2023 | pcsx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3474 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rack | rack | < 2.2.25 (affected)>= 3.0, < 3.1.23 (affected)>= 3.2, < 3.2.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
4Provider assertions
2GitHub_M · cna
Rack: Multipart parsing allows DoS via unbounded scan buffer growth
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83e5fc9533f4229c5d58e7a0a9a5dfa3e81abbf4c1a5ba2ca90aa7f4ef4ee592
- Ingested
- 12 Nov 2026, 18:48:50 UTC
- Source record
- Official CVE record