CVE-2026-125111
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.
Weakness
- CWE-400: Uncontrolled Resource Consumption
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-12 |
Timeline
- 2026-11-09Published by the CNA22:02 UTC
- 2026-11-10GitHub advisory published (GHSA-5v64-555j-wjxm)1 day after publication
- 2026-11-12CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-5v64-555j-wjxm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems rack | before 2.2.25 | 2.2.25 |
| RubyGems rack | from 3.0.0 before 3.1.23 | 3.1.23 |
| RubyGems rack | from 3.2.0 before 3.2.8 | 3.2.8 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rack rack |
References
- https://github.com/rack/rack/commit/244e75a840cee0823f86d5d01dc374505a8abed8
- https://github.com/rack/rack/commit/2eaa5b1026a03a43b6537b1a0b233707ba887702
- https://github.com/rack/rack/commit/c9b4698595050838342bd3b5a0fc9ab908065f8f
- https://github.com/rack/rack/security/advisories/GHSA-5v64-555j-wjxm
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-125111'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-125111'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-125111'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-125111'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).