CVE-2026-35611

Source
https://cve.org/CVERecord?id=CVE-2026-35611
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35611.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-35611
Aliases
Downstream
Related
Published
2026-04-07T16:38:08.707Z
Modified
2026-07-08T08:12:59.974081560Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Addressable has a Regular Expression Denial of Service in Addressable templates
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35611.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1333"
    ]
}
References

Affected packages

Git / github.com/sporkmonger/addressable

Affected ranges

Type
GIT
Repo
https://github.com/sporkmonger/addressable
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:addressable_project:addressable:*:*:*:*:*:ruby:*:*",
    "extracted_events": [
        {
            "introduced": "2.3.0"
        },
        {
            "fixed": "2.9.0"
        }
    ]
}

Affected versions

addressable-2.*
addressable-2.3.0
addressable-2.3.1
addressable-2.3.2
addressable-2.3.3
addressable-2.3.4
addressable-2.3.5
addressable-2.3.6
addressable-2.3.7
addressable-2.3.8
addressable-2.4.0
addressable-2.5.0
addressable-2.5.1
addressable-2.5.2
addressable-2.6.0
addressable-2.7.0
addressable-2.8.1
addressable-2.8.10
addressable-2.8.2
addressable-2.8.3
addressable-2.8.4
addressable-2.8.5
addressable-2.8.6
addressable-2.8.7
addressable-2.8.8
addressable-2.8.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35611.json"