freenode

← CVE tracker

CVE-2026-126353

Addressable: Regular Expression Denial of Service in Addressable templates with several exploded variables

Severity
medium CVSS 5.9 (v3.1)
Affects
addressable · sporkmonger
Weakness
CWE-1333: Inefficient Regular Expression Complexity
Published
12 November 2026 by GitHub_M
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 containing several exploded variables generate ambiguous regular expressions that can divide a run of members among the variables in polynomially many ways. Template#match or Template#extract processing of an attacker-controlled URI can therefore consume a thread and cause denial of service. The flaw affects MRI Ruby before 3.2 and JRuby, TruffleRuby 40.0, and plus or number-sign expressions on MRI Ruby 3.2. MRI Ruby 3.3 and later, URI parsing, and Template#expand are unaffected. This issue is fixed in version 2.9.1.

Our coverage

We have not written about this one. Know why it matters? Send a tip.