CVEfocus › CVE database › CVE-2026-35611

CVE-2026-35611Addressable has a Regular Expression Denial of Service in Addressable templates

CVSS 7.5 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-04-07Updated 2026-04-09Assigner: GitHub_M

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.

CWE-1333

What to do

Fixed builds are available from Alpine, Debian, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
9Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-addressableFix pendingUBUNTU-CVE-2026-35611
Ubuntu 26.04ruby-addressableFix pending2.8.7-2ubuntu0.26.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-35611
Ubuntu 25.10ruby-addressableWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-35611
Ubuntu 24.04ruby-addressableFix pending2.8.5-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-35611
Ubuntu 22.04ruby-addressableFix pending2.8.0-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-35611
Ubuntu 20.04ruby-addressableFix pending2.7.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-35611
Ubuntu 18.04ruby-addressableFix pending2.5.2-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-35611
Ubuntu 16.04ruby-addressableFix pending2.3.8-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-35611
Debian 14ruby-addressableFixed2.9.0-1DEBIAN-CVE-2026-35611
Debian 13ruby-addressableFix pendingDEBIAN-CVE-2026-35611
Debian 12ruby-addressableFix pendingDEBIAN-CVE-2026-35611
Alpine Linux 3.24ruby-addressableFixed2.9.0-r0ALPINE-CVE-2026-35611
Alpine Linux 3.23ruby-addressableFixed2.9.0-r0ALPINE-CVE-2026-35611
RubyGems libraryaddressableFixed2.9.0GHSA-h27x-rffw-24p4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.