7.5

CVE-2026-34230: Rack: Quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header

Analyzed
AliasesUBUNTU-CVE-2026-34230DEBIAN-CVE-2026-34230CGA-297j-2658-7wv2
Published 02-04-2026Last modified 03-04-2026

Vulnerability summary

CVE-2026-34230 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in rack. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.49%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 7

Timeline

  1. 02-04-2026
    PublishedVulnerability first disclosed.
  2. 03-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.45% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard57 products
  • gitlab-exporter-18.10< 18.10.3-r0
  • gitlab-exporter-18.7All versions (No fix recorded)
  • gitlab-exporter-18.8< 18.8.9-r0
  • gitlab-exporter-18.9< 18.9.5-r0
  • gitlab-rails-ce-18.1< 18.1.6-r13
Wolfi8 products
  • kube-fluentd-operator< 1.18.2-r67 | < 1.18.2-r60
  • logstash-9.3< 9.3.3-r2
  • logstash-9.3-iamguarded-compat< 9.3.3-r2
  • logstash-9.3-with-output-opensearch< 9.3.3-r2
  • ruby3.2-rack-2.2< 2.2.23-r0
Debian1 product
  • ruby-rack< 2.2.22-0+deb12u2 | < 3.1.20-0+deb13u2 | < 3.2.6-2
Rack1 product
  • rack≥ 3.0.0.beta1, < 3.1.21 | < 2.2.23 | ≥ 3.0.0, < 3.1.21 | ≥ 3.2.0, < 3.2.6
RubyGems1 product
  • rack< 2.2.23 | ≥ 3.0.0.beta1, < 3.1.21 | ≥ 3.2.0, < 3.2.6
Ubuntu1 product
  • ruby-rackAll versions (No fix recorded) | < 1.5.2-3+deb8u3ubuntu1~esm11 | < 1.6.4-3ubuntu0.2+esm10 | < 1.6.4-4ubuntu0.2+esm10 | < 2.1.4-5ubuntu1.2+esm3 | < 2.2.7-1ubuntu0.7 | < 3.1.16-0.1ubuntu0.3 | < 3.2.4-1ubuntu1.1

6 vendors · 69 products

References

10 links