CVE-2026-125111
CVE-2026-125111 · Rack: Multipart parsing allows DoS via unbounded scan buffer growth
CVSS 7.5 · High · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- rackNo fix published
- ruby-rack Debian 12No fix published
- ruby-rack Debian 13No fix published
- ruby-rack Debian 14Update to 3.2.8-1
- and 9 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-rack"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
rack
- Versions
- < 2.2.25: Affected
- >= 3.0, < 3.1.23: Affected
- >= 3.2, < 3.2.8: Affected
No fix published
ruby-rack Debian 12
- Versions
- 2.2.13-1~deb12u1
- 2.2.20-0+deb12u1
- 2.2.22-0+deb12u1
- 2.2.22-0+deb12u2
- 2.2.6.4-1
- 2.2.6.4-1+deb12u1
All versions (28)
- 2.2.7-1
- 2.2.7-1.1
- 3.0.0-1
- 3.0.8-1
- 3.0.8-2
- 3.0.8-3
- 3.0.8-4
- 3.1.12-1
- 3.1.12-2~exp1
- 3.1.16-0.1
- 3.1.18-1
- 3.1.18-1~deb13u1
- 3.1.9-1~exp1
- 3.1.9-2
- 3.2.4-1
- 3.2.5-1
- 3.2.5-2
- 3.2.6-1
- 3.2.6-2
- 3.2.6-3
- 3.2.7-1
- 3.2.8-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Debian 13
- Versions
- 3.1.16-0.1
- 3.1.18-1
- 3.1.18-1~deb13u1
- 3.1.20-0+deb13u1
- 3.1.20-0+deb13u2
- 3.2.4-1
All versions (13)
- 3.2.5-1
- 3.2.5-2
- 3.2.6-1
- 3.2.6-2
- 3.2.6-3
- 3.2.7-1
- 3.2.8-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Debian 14
- Versions
- 3.1.16-0.1
- 3.1.18-1
- 3.1.18-1~deb13u1
- 3.2.4-1
- 3.2.5-1
- 3.2.5-2
All versions (10)
- 3.2.6-1
- 3.2.6-2
- 3.2.6-3
- 3.2.7-1
- Affected ranges
- ECOSYSTEM: < 3.2.8-1
Update to 3.2.8-1
rack RubyGems
- Versions
- 0.1.0
- 0.2.0
- 0.3.0
- 0.4.0
- 0.9.0
- 0.9.1
All versions (125)
- 1.0.0
- 1.0.1
- 1.1.0
- 1.1.1
- 1.1.1.pre
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.1.6
- 1.2.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.2.6
- 1.2.7
- 1.2.8
- 1.3.0
- 1.3.0.beta
- 1.3.0.beta2
- 1.3.1
- 1.3.10
- 1.3.2
- 1.3.3
- 1.3.4
- 1.3.5
- 1.3.6
- 1.3.7
- 1.3.8
- 1.3.9
- 1.4.0
- 1.4.1
- 1.4.2
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.6
- 1.4.7
- 1.5.0
- 1.5.0.beta.1
- 1.5.0.beta.2
- 1.5.1
- 1.5.2
- 1.5.3
- 1.5.4
- 1.5.5
- 1.6.0
- 1.6.0.beta
- 1.6.0.beta2
- 1.6.1
- 1.6.10
- 1.6.11
- 1.6.12
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.1.23
rack RubyGems
- Versions
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
All versions (8)
- 3.2.6
- 3.2.7
- Affected ranges
- ECOSYSTEM: ≥ 3.2.0, < 3.2.8
Update to 3.2.8
ruby-rack Ubuntu Pro 14.04 LTS
- Versions
- 1.5.2-1
- 1.5.2-1ubuntu0.1~esm1
- 1.5.2-3+deb8u3ubuntu1~esm2
- 1.5.2-3+deb8u3ubuntu1~esm3
- 1.5.2-3+deb8u3ubuntu1~esm4
- 1.5.2-3+deb8u3ubuntu1~esm6
All versions (11)
- 1.5.2-3+deb8u3ubuntu1~esm7
- 1.5.2-3+deb8u3ubuntu1~esm8
- 1.5.2-3+deb8u3ubuntu1~esm9
- 1.5.2-3+deb8u3ubuntu1~esm10
- 1.5.2-3+deb8u3ubuntu1~esm11
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Ubuntu Pro 16.04 LTS
- Versions
- 1.5.2-4
- 1.6.4-2
- 1.6.4-3
- 1.6.4-3ubuntu0.1
- 1.6.4-3ubuntu0.2
- 1.6.4-3ubuntu0.2+esm1
All versions (14)
- 1.6.4-3ubuntu0.2+esm2
- 1.6.4-3ubuntu0.2+esm4
- 1.6.4-3ubuntu0.2+esm5
- 1.6.4-3ubuntu0.2+esm6
- 1.6.4-3ubuntu0.2+esm7
- 1.6.4-3ubuntu0.2+esm8
- 1.6.4-3ubuntu0.2+esm9
- 1.6.4-3ubuntu0.2+esm10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Ubuntu Pro 18.04 LTS
- Versions
- 1.6.4-4
- 1.6.4-4ubuntu0.1
- 1.6.4-4ubuntu0.2
- 1.6.4-4ubuntu0.2+esm1
- 1.6.4-4ubuntu0.2+esm2
- 1.6.4-4ubuntu0.2+esm4
All versions (12)
- 1.6.4-4ubuntu0.2+esm5
- 1.6.4-4ubuntu0.2+esm6
- 1.6.4-4ubuntu0.2+esm7
- 1.6.4-4ubuntu0.2+esm8
- 1.6.4-4ubuntu0.2+esm9
- 1.6.4-4ubuntu0.2+esm10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Ubuntu Pro 20.04 LTS
- Versions
- 2.0.6-3
- 2.0.7-2
- 2.0.7-2ubuntu0.1
- 2.0.7-2ubuntu0.1+esm1
- 2.0.7-2ubuntu0.1+esm2
- 2.0.7-2ubuntu0.1+esm3
All versions (13)
- 2.0.7-2ubuntu0.1+esm4
- 2.0.7-2ubuntu0.1+esm5
- 2.0.7-2ubuntu0.1+esm6
- 2.0.7-2ubuntu0.1+esm7
- 2.0.7-2ubuntu0.1+esm8
- 2.0.7-2ubuntu0.1+esm9
- 2.0.7-2ubuntu0.1+esm10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Ubuntu Pro 22.04 LTS
- Versions
- 2.1.4-3
- 2.1.4-4
- 2.1.4-5
- 2.1.4-5ubuntu1
- 2.1.4-5ubuntu1+esm2
- 2.1.4-5ubuntu1+esm3
All versions (15)
- 2.1.4-5ubuntu1+esm4
- 2.1.4-5ubuntu1+esm5
- 2.1.4-5ubuntu1.1
- 2.1.4-5ubuntu1.1+esm1
- 2.1.4-5ubuntu1.1+esm2
- 2.1.4-5ubuntu1.2
- 2.1.4-5ubuntu1.2+esm1
- 2.1.4-5ubuntu1.2+esm2
- 2.1.4-5ubuntu1.2+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Ubuntu 24.04 LTS
- Versions
- 2.2.4-3
- 2.2.7-1
- 2.2.7-1ubuntu0.1
- 2.2.7-1ubuntu0.2
- 2.2.7-1ubuntu0.3
- 2.2.7-1ubuntu0.4
All versions (9)
- 2.2.7-1ubuntu0.5
- 2.2.7-1ubuntu0.6
- 2.2.7-1ubuntu0.7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Ubuntu 26.10
- Versions
- 3.2.4-1ubuntu1
- 3.2.6-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby-rack Ubuntu 26.04 LTS
- Versions
- 3.1.16-0.1
- 3.1.18-1
- 3.1.18-1build1
- 3.2.4-1ubuntu1
- 3.2.4-1ubuntu1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/rack/rack/security/advisories/GHSA-5v64-555j-wjxm
- https://github.com/rack/rack/commit/244e75a840cee0823f86d5d01dc374505a8abed8
- https://github.com/rack/rack/commit/2eaa5b1026a03a43b6537b1a0b233707ba887702
- https://github.com/rack/rack/commit/c9b4698595050838342bd3b5a0fc9ab908065f8f
- https://nvd.nist.gov/vuln/detail/CVE-2026-125111