CVE-2026-35611
published high CVSS 3.1 · 7.5Addressable has a Regular Expression Denial of Service in Addressable templates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sporkmonger | — | addressable>= 2.3.0, < 2.9.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | ruby-addressable | Fixed | 2.9.0-r0 | Package fix record |
| Ubuntu | bionic | ruby-addressable | Advisory build | 2.5.2-1ubuntu0.1~esm1 | USN-8515-1 |
| Alpine Linux | v3.23 | ruby-addressable | Fixed | 2.9.0-r0 | Package fix record |
| Alpine Linux | v3.24 | ruby-addressable | Fixed | 2.9.0-r0 | Package fix record |
| Ubuntu | focal | ruby-addressable | Advisory build | 2.7.0-1ubuntu0.1~esm1 | USN-8515-1 |
| Ubuntu | jammy | ruby-addressable | Advisory build | 2.8.0-3ubuntu0.1~esm1 | USN-8515-1 |
| Ubuntu | noble | ruby-addressable | Advisory build | 2.8.5-1ubuntu0.1~esm1 | USN-8515-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | resolute | ruby-addressable | Advisory build | 2.8.7-2ubuntu0.26.04.1~esm1 | USN-8515-1 |
| Ubuntu | xenial | ruby-addressable | Advisory build | 2.3.8-1ubuntu0.1~esm1 | USN-8515-1 |
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.
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
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sporkmonger | addressable | >= 2.3.0, < 2.9.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
1Provider assertions
2GitHub_M · cna
Addressable has a Regular Expression Denial of Service in Addressable templates
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1a4365fadeeea39fe0ef7cf9ab2c15666be6ef5e64f8ce1a9f8b722a67731f03
- Ingested
- 23 Sep 2026, 09:11:49 UTC
- Source record
- Official CVE record