CVE-2026-141528

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

Published Dec 1, 2026 CVSS 3.1 · 5.9 Medium EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Addressable: Regular Expression Denial of Service in Addressable templates with several variables
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 1, 2026, 9:02 PM
Reserved
Dec 1, 2026, 8:36 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 9:17 PM
Modified
Dec 1, 2026, 9:17 PM