p PatchFirst

CVE-2026-126350

CVE-2026-126350 · Addressable: Regular Expression Denial of Service in Addressable templates with certain exploded expressions

CVSS 5.9 · Medium · 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:

gem list --exact 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 until 2.9.1, URI template expressions using the explode modifier with the slash, dot, semicolon, question-mark, or ampersand operators generate ambiguous regular expressions. When Template#match or Template#extract processes an attacker-controlled URI beginning with the operator's leading character, optional member separators allow catastrophic backtracking and denial of service on MRI Ruby before 3.2 and JRuby. Addressable 2.9.0 incompletely remediated the earlier template issue because its tests did not reach these operator-prefixed paths. URI parsing and Template#expand are unaffected. This issue is fixed in version 2.9.1.

Published
Updated

Stack: system · ruby

Affected products and versions

  • addressable

    Versions
    • >= 2.3.0, < 2.9.1: Affected

    No fix published

  • addressable RubyGems

    Versions
    • 2.3.2
    • 2.3.3
    • 2.3.4
    • 2.3.5
    • 2.3.6
    • 2.3.7
    All versions (25)
    • 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
    • 2.9.0
    Affected ranges
    • ECOSYSTEM: ≥ 2.3.0, < 2.9.1

    Update to 2.9.1

  • ruby-addressable Ubuntu Pro 16.04 LTS

    Versions
    • 2.3.8-1
    • 2.3.8-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 18.04 LTS

    Versions
    • 2.5.1-2
    • 2.5.2-1
    • 2.5.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 20.04 LTS

    Versions
    • 2.5.2-1
    • 2.7.0-1
    • 2.7.0-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 22.04 LTS

    Versions
    • 2.7.0-2
    • 2.8.0-3
    • 2.8.0-3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-addressable Ubuntu Pro 24.04 LTS

    Versions
    • 2.8.1-1
    • 2.8.5-1
    • 2.8.5-1ubuntu0.1~esm1
    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
    • 2.8.7-2ubuntu0.26.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →