p PatchFirst

CVE-2026-35611

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

CVSS 7.5 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o ruby-addressable
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-addressable"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • USN-8515-1 · Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS, Ubuntu Pro 26.04 LTS ·

Stack: system · ruby

Affected products and versions

  • addressable

    Versions
    • >= 2.3.0, < 2.9.0: Affected

    No fix published

  • ruby-addressable Alpine 3.23

    Affected ranges
    • ECOSYSTEM: ≥ 2.3.0, < 2.9.0-r0

    Update to 2.9.0-r0

  • ruby-addressable Alpine 3.24

    Affected ranges
    • ECOSYSTEM: ≥ 2.3.0, < 2.9.0-r0

    Update to 2.9.0-r0

  • ruby-addressable Debian 12

    Versions
    • 2.8.1-1
    • 2.8.5-1
    • 2.8.7-2
    • 2.8.8-1
    • 2.8.9-1
    • 2.9.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Debian 13

    Versions
    • 2.8.7-2
    • 2.8.8-1
    • 2.8.9-1
    • 2.9.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Debian 14

    Versions
    • 2.8.7-2
    • 2.8.8-1
    • 2.8.9-1
    Affected ranges
    • ECOSYSTEM: < 2.9.0-1

    Update to 2.9.0-1

  • addressable RubyGems

    Versions
    • 2.3.2
    • 2.3.3
    • 2.3.4
    • 2.3.5
    • 2.3.6
    • 2.3.7
    All versions (24)
    • 2.3.8
    • 2.4.0
    • 2.5.0
    • 2.5.1
    • 2.5.2
    • 2.6.0
    • 2.7.0
    • 2.8.0
    • 2.8.1
    • 2.8.10
    • 2.8.2
    • 2.8.3
    • 2.8.4
    • 2.8.5
    • 2.8.6
    • 2.8.7
    • 2.8.8
    • 2.8.9
    Affected ranges
    • ECOSYSTEM: ≥ 2.3.0, < 2.9.0

    Update to 2.9.0

  • ruby-addressable Ubuntu Pro 16.04 LTS

    Versions
    • 2.3.8-1
    Affected ranges
    • ECOSYSTEM: < 2.3.8-1ubuntu0.1~esm1

    Update to 2.3.8-1ubuntu0.1~esm1

  • ruby-addressable Ubuntu Pro 18.04 LTS

    Versions
    • 2.5.1-2
    • 2.5.2-1
    Affected ranges
    • ECOSYSTEM: < 2.5.2-1ubuntu0.1~esm1

    Update to 2.5.2-1ubuntu0.1~esm1

  • ruby-addressable Ubuntu Pro 20.04 LTS

    Versions
    • 2.5.2-1
    • 2.7.0-1
    Affected ranges
    • ECOSYSTEM: < 2.7.0-1ubuntu0.1~esm1

    Update to 2.7.0-1ubuntu0.1~esm1

  • ruby-addressable Ubuntu Pro 22.04 LTS

    Versions
    • 2.7.0-2
    • 2.8.0-3
    Affected ranges
    • ECOSYSTEM: < 2.8.0-3ubuntu0.1~esm1

    Update to 2.8.0-3ubuntu0.1~esm1

  • ruby-addressable Ubuntu Pro 24.04 LTS

    Versions
    • 2.8.1-1
    • 2.8.5-1
    Affected ranges
    • ECOSYSTEM: < 2.8.5-1ubuntu0.1~esm1

    Update to 2.8.5-1ubuntu0.1~esm1

  • ruby-addressable Ubuntu 25.10

    Versions
    • 2.8.5-1
    • 2.8.7-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu 26.10

    Versions
    • 2.8.7-2
    • 2.9.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 26.04 LTS

    Versions
    • 2.8.7-2
    Affected ranges
    • ECOSYSTEM: < 2.8.7-2ubuntu0.26.04.1~esm1

    Update to 2.8.7-2ubuntu0.26.04.1~esm1

Original sources

Check your server →