UBUNTU-CVE-2026-126352: Medium severity ubuntu/ruby-addressable vulnerability

Published Nov 13, 2026
·
Updated

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 templates with several variables in one expression or several adjacent expressions generate ambiguous regular expressions. Affected forms include multi-variable expressions using operators other than plus and number sign, large plus or number-sign expressions, and adjacent single-variable expressions. Template#match or Template#extract can backtrack polynomially or exponentially on attacker-controlled URIs, causing denial of service on MRI Ruby before 3.2 and JRuby, with the large plus and number-sign form also affecting MRI Ruby 3.2 and TruffleRuby 40.0. URI parsing and Template#expand are unaffected. This issue is fixed in version 2.9.1.

Affected Software

7 affected components
ubuntu/ruby-addressable*
ubuntu/ruby-addressable*
ubuntu/ruby-addressable*
ubuntu/ruby-addressable*
ubuntu/ruby-addressable*
ubuntu/ruby-addressable*
ubuntu/ruby-addressable*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade addressable to a version that resolves this vulnerability.

    Fixed in 2.9.1

Event History

Nov 13, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which applications are realistically exposed to denial of service?

Applications using Addressable URI templates and calling Template#match or Template#extract on attacker-controlled URIs are exposed. URI parsing and Template#expand are not affected.

2

What does an attacker need to trigger the issue?

An attacker needs to supply a URI that is evaluated by Template#match or Template#extract against an affected template. No authentication or user interaction is required according to the provided vector, but exploitation requires templates with the affected expression forms.

3

Are all Ruby runtimes affected in the same way?

MRI Ruby before 3.2 and JRuby are affected by the listed ambiguous template forms. MRI Ruby 3.2 and TruffleRuby 40.0 are affected by the large plus or number-sign expression form.

4

What template patterns should be prioritized for review if patching is delayed?

Prioritize multi-variable expressions using operators other than plus or number sign, large plus or number-sign expressions, and adjacent single-variable expressions. Avoid passing untrusted URIs to Template#match or Template#extract for those templates until Addressable is updated.

5

What version contains the fix?

The issue is fixed in Addressable version 2.9.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203