# CVE-2026-125111: Rack: Multipart parsing allows DoS via unbounded scan buffer growth

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-11-09T22:02:38.334Z
- Modified: 2026-11-12T19:18:09.510Z
- Also known as: GHSA-5v64-555j-wjxm
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rack rack: < 2.2.25; >= 3.0, < 3.1.23; >= 3.2, < 3.2.8
- rack (RubyGems): before 2.2.25; from 3.0.0 before 3.1.23; from 3.2.0 before 3.2.8

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/rack/rack/security/advisories/GHSA-5v64-555j-wjxm> (web)
- <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://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)

## Sources

- CVE List: [CVE-2026-125111](https://www.cve.org/CVERecord?id=CVE-2026-125111), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-5v64-555j-wjxm](https://github.com/advisories/GHSA-5v64-555j-wjxm), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-125111](https://nvd.nist.gov/vuln/detail/CVE-2026-125111), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-125111 · Whole record: https://cve.day/CVE-2026-125111.json · Rebuilt by cve.day 2026-11-25T22:59:49.675Z
