cvelo
P3 · MediumCVSS 5.9EPSS 0.7%

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

  • CVE-2026-141528
  • GHSA-xj9m-f88p-5j38
  • EUVD-2026-140685

Description

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.0 until 2.10.0, Addressable URI templates can generate ambiguous regular expressions when a multi-variable expression is followed by comma-capable text, a variable name repeats within one expression, or adjacent expressions include one with several variables. Calling Template#match or Template#extract with a crafted URI can trigger excessive backtracking and denial of service on MRI Ruby before 3.2 and JRuby. MRI Ruby 3.2 and TruffleRuby 40.0 are additionally affected by the first two shapes, while MRI Ruby 3.3 and later is unaffected. The remediation does not cover processor-supplied variable patterns or certain combined exploded or multi-variable expression shapes that remain polynomial. This issue is fixed in version 2.10.0.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • sporkmonger addressable

    Affected versionsFixed in
    >= 2.3.0, < 2.10.0none stated
  • addressableRubyGems

    Affected versionsFixed in
    from 2.3.0 up to 2.9.2none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.