Addressable has a Regular Expression Denial of Service in Addressable templates
CVE-2026-35611 is fixed in ruby-addressable on 1 platform, first by ruby-addressable 2.5.2-1ubuntu0.1~esm1, released April 7, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| ruby-addressable · Debian 14 | 2.9.0-1 | DEBIAN-CVE-2026-35611 | Apr 7, 2026 |
| ruby-addressable · Ubuntu 18.04.6 LTS (bionic) | 2.5.2-1ubuntu0.1~esm1 | ruby-addressable 2.5.2-1ubuntu0.1~esm1 | Apr 7, 2026 |
| ruby-addressable · Ubuntu 20.04 LTS (focal) | 2.7.0-1ubuntu0.1~esm1 | ruby-addressable 2.7.0-1ubuntu0.1~esm1 | Apr 7, 2026 |
| ruby-addressable · Ubuntu 22.04.1 LTS (jammy) | 2.8.0-3ubuntu0.1~esm1 | ruby-addressable 2.8.0-3ubuntu0.1~esm1 | Apr 7, 2026 |
| ruby-addressable · Ubuntu 24.04.5 LTS (noble) | 2.8.5-1ubuntu0.1~esm1 | ruby-addressable 2.8.5-1ubuntu0.1~esm1 | Apr 7, 2026 |
| ruby-addressable · Ubuntu 26.04.1 LTS (resolute) | 2.8.7-2ubuntu0.26.04.1~esm1 | ruby-addressable 2.8.7-2ubuntu0.26.04.1~esm1 | Apr 7, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.