CVE-2026-35611
addressable: Addressable: Denial of Service via crafted URI templates
Overview
Description
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.0 to before 2.9.0, within the URI template implementation in Addressable, two classes of URI template generate regular expressions vulnerable to catastrophic backtracking. Templates using the * (explode) modifier with any expansion operator (e.g., {foo*}, {+var*}, {#var*}, {/var*}, {.var*}, {;var*}, {?var*}, {&var*}) generate patterns with nested unbounded quantifiers that are O(2^n) when matched against a maliciously crafted URI. Templates using multiple variables with the + or # operators (e.g., {+v1,v2,v3}) generate patterns with O(n^k) complexity due to the comma separator being within the matched character class, causing ambiguous backtracking across k variables. When matched against a maliciously crafted URI, this can result in catastrophic backtracking and uncontrolled resource consumption, leading to denial of service. This vulnerability is fixed in 2.9.0.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-1333
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | addressable | >=2.3.0, <2.9.0 | 2.9.0 |
Open a package to see all its vulnerabilities.
Operating systems · 44 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | rubygem-addressable | 0:2.9.0-1.azl3 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | rubygem-addressable | 2.7.0-3.ph4 |
| 5.0 | rubygem-addressable | 2.8.8-2.ph5 |
alpine 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | ruby-addressable | 2.9.0-r0 |
| 3.24 | ruby-addressable | 2.9.0-r0 |
| edge | ruby-addressable | 2.9.0-r0 |
chainguard 1 release · 18 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-2-fluentd-kubernetes-daemonset-1-16 +1 | 1.16.11.1.0-r2 | |
| ruby3-4-fluentd-kubernetes-daemonset-1-16 +1 | 1.16.11.1.0-r3 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-17 | 1.17.1.1.2-r8 | |
| ruby3-2-fluentd-kubernetes-daemonset-1-17 | 1.17.1.1.2-r9 | |
| ruby3-2-fluentd-kubernetes-daemonset-1-18 +2 | 1.18.0.1.5-r2 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-18 | 1.18.0.1.5-r3 |
12 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-addressable | affected |
| 12 | ruby-addressable | affected |
| 13 | ruby-addressable | affected |
| 14 | ruby-addressable | 2.9.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-addressable | affected |
minimos 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.2.1.4-r0 | |
| ruby3-2-addressable +2 | 2.9.0-r0 | |
| logstash-8-19 | 8.19.16-r0 | |
| logstash-9-3 | 9.3.5-r0 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | ruby-addressable | 2.5.2-1ubuntu0.1~esm1 |
| 20.04-ESM | ruby-addressable | 2.7.0-1ubuntu0.1~esm1 |
| 22.04 | ruby-addressable | affected |
| 24.04 | ruby-addressable | affected |
| 26.04 | ruby-addressable | affected |
wolfi 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| kube-fluentd-operator | 1.18.2-r69 | |
| ruby3-2-fluentd-kubernetes-daemonset-1-19 | 1.19.2.1.1-r3 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 +2 | 1.19.2.1.4-r0 | |
| kube-logging-operator | 6.4.0-r11 | |
| cinc-auditor | 7.0.107-r3 | |
| logstash-9-3 | 9.3.3-r2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-35611
- cwe.mitre.org https://cwe.mitre.org/data/definitions/1333.html
- github.com https://github.com/advisories/GHSA-h27x-rffw-24p4
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/CVE-2026-35611.yml
- github.com https://github.com/sporkmonger/addressable
- github.com https://github.com/sporkmonger/addressable/commit/0afcb0b9672bee301e5e96ed850fec05b2fcabb0 (addressable-2.8.10)
- github.com https://github.com/sporkmonger/addressable/commit/91915c1f7aafa3e2c9f42e2f4e21d948c7a861b8 (addressable-2.9.0)
- github.com https://github.com/sporkmonger/addressable/commit/c87f768f22ab00376ed2f8cb106f59c9d0652d3a (addressable-2.8.10)
- github.com https://github.com/sporkmonger/addressable/security/advisories/GHSA-h27x-rffw-24p4
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-35611
Show all 14 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.