CVE-2026-34230
published medium CVSS 3.1 · 5.3Rack: Quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rack | — | rack< 2.2.23 · >= 3.0.0.beta1, < 3.1.21 · >= 3.2.0, < 3.2.6 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | ruby-rack | Advisory build | 2.2.22-0+deb12u2 | DLA-4706-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-serveraarch64 | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| Ubuntu | bionic | ruby-rack | Advisory build | 1.6.4-4ubuntu0.2+esm10 | USN-8182-1 |
| Debian | bullseye | ruby-rack | Advisory build | 2.1.4-3+deb11u6 | DLA-4706-1 |
| Debian | trixie | ruby-rack | Advisory build | 3.1.20-0+deb13u2 | DSA-6492-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-serverppc64le | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
Show 85 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | rmt-servers390x | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-serverx86_64 | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-configaarch64 | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-configppc64le | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-configs390x | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-configx86_64 | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-pubcloudaarch64 | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-pubcloudppc64le | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-pubclouds390x | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP4 | rmt-server-pubcloudx86_64 | Advisory build | 2.27-150400.3.54.1 | SUSE-SU-2026:1964-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-serveraarch64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-serverppc64le | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-servers390x | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-serverx86_64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-configaarch64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-configppc64le | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-configs390x | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-configx86_64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-pubcloudaarch64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-pubcloudppc64le | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-pubclouds390x | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP5 | rmt-server-pubcloudx86_64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-serveraarch64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-serverppc64le | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-servers390x | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-serverx86_64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-configaarch64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-configppc64le | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-configs390x | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-configx86_64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-pubcloudaarch64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-pubcloudppc64le | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-pubclouds390x | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP6 | rmt-server-pubcloudx86_64 | Advisory build | 2.27-150500.3.47.1 | SUSE-SU-2026:2487-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-serveraarch64 | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-serverppc64le | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-servers390x | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-serverx86_64 | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-configaarch64 | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-configppc64le | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-configs390x | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-configx86_64 | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-pubcloudaarch64 | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-pubcloudppc64le | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-pubclouds390x | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-15-SP7 | rmt-server-pubcloudx86_64 | Advisory build | 2.27-150700.3.20.1 | SUSE-SU-2026:1745-1 |
| SUSE / openSUSE | SLE-16 | rmt-serveraarch64 | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-serverppc64le | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-servers390x | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-serverx86_64 | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-configaarch64 | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-configppc64le | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-configs390x | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-configx86_64 | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-pubcloudaarch64 | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-pubcloudppc64le | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-pubclouds390x | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | SLE-16 | rmt-server-pubcloudx86_64 | Advisory build | 3.1.0-160000.1.1 | SUSE-SU-2026:23321-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ansible-rmt-servernoarch | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-serveraarch64 | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-serverppc64le | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-servers390x | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-serverx86_64 | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-configaarch64 | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-configppc64le | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-configs390x | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-configx86_64 | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-pubcloudaarch64 | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-pubcloudppc64le | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-pubclouds390x | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rmt-server-pubcloudx86_64 | Advisory build | 3.1.0-160000.1.1 | OPENSUSE-SU-2026:21640-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2aarch64 | Advisory build | 2.2.23-1.1 | OPENSUSE-SU-2026:10508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2ppc64le | Advisory build | 2.2.23-1.1 | OPENSUSE-SU-2026:10508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2s390x | Advisory build | 2.2.23-1.1 | OPENSUSE-SU-2026:10508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2x86_64 | Advisory build | 2.2.23-1.1 | OPENSUSE-SU-2026:10508-1 |
| Ubuntu | focal | ruby-rack | Advisory build | 2.0.7-2ubuntu0.1+esm10 | USN-8182-1 |
| Ubuntu | jammy | ruby-rack | Advisory build | 2.1.4-5ubuntu1.2+esm3 | USN-8182-1 |
| Ubuntu | noble | ruby-rack | Advisory build | 2.2.7-1ubuntu0.7 | USN-8182-1 |
| Ubuntu | questing | ruby-rack | Advisory build | 3.1.16-0.1ubuntu0.3 | USN-8182-1 |
| Ubuntu | resolute | ruby-rack | Advisory build | 3.2.4-1ubuntu1.1 | USN-8989-1 |
| Ubuntu | trusty | librack-ruby | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm11 | USN-8182-1 |
| Ubuntu | trusty | librack-ruby1.8 | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm11 | USN-8182-1 |
| Ubuntu | trusty | librack-ruby1.9.1 | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm11 | USN-8182-1 |
| Ubuntu | trusty | ruby-rack | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm11 | USN-8182-1 |
| Ubuntu | xenial | ruby-rack | Advisory build | 1.6.4-3ubuntu0.2+esm10 | USN-8182-1 |
Description
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.select_best_encoding processes Accept-Encoding values with quadratic time complexity when the header contains many wildcard (*) entries. Because this method is used by Rack::Deflater to choose a response encoding, an unauthenticated attacker can send a single request with a crafted Accept-Encoding header and cause disproportionate CPU consumption on the compression middleware path. This results in a denial of service condition for applications using Rack::Deflater. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
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
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rack | rack | < 2.2.23 (affected)>= 3.0.0.beta1, < 3.1.21 (affected)>= 3.2.0, < 3.2.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
1Provider assertions
2GitHub_M · cna
Rack: Quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- da5743064f93e2ad5af683f68798736efc20413b40e38a7e34689e477e131f77
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record