CVE-2026-141526

Addressable: Regular Expression Denial of Service in Addressable templates with exploded variables next to other 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 with exploded variables adjacent to other variables generate ambiguous regular expressions that can backtrack polynomially on MRI Ruby before 3.2 and JRuby. Calling Template#match or Template#extract with a crafted URI can cause uncontrolled resource consumption and denial of service. The remediation does not cover processor-supplied variable patterns or certain templates that combine exploded or multi-variable expressions with other expressions, which can remain polynomial on MRI Ruby before 3.3, JRuby, and TruffleRuby. This issue is fixed in version 2.10.0.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xfg6-27c4-wr4r Addressable: Regular Expression Denial of Service in templates with exploded variables next to other variables
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 with exploded variables adjacent to other variables generate ambiguous regular expressions that can backtrack polynomially on MRI Ruby before 3.2 and JRuby. Calling Template#match or Template#extract with a crafted URI can cause uncontrolled resource consumption and denial of service. The remediation does not cover processor-supplied variable patterns or certain templates that combine exploded or multi-variable expressions with other expressions, which can remain polynomial on MRI Ruby before 3.3, JRuby, and TruffleRuby. This issue is fixed in version 2.10.0.
Title Addressable: Regular Expression Denial of Service in Addressable templates with exploded variables next to other 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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 1, 2026, 10:24 PM
Reserved
Dec 1, 2026, 8:30 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 9:17 PM
Modified
Dec 1, 2026, 11:17 PM