← Vulnerabilities

MediumAdvisoryRuby

Addressable: Regular Expression Denial of Service in templates with literal text between expressions

Affected

PackageAffected versionsFixed in
rubygems:addressable>= 2.3.0, <= 2.9.22.10.0

Within the URI template implementation in Addressable, templates with literal text between expressions generate regular expressions vulnerable to excessive backtracking when a variable before the literal text can also match it. Realistic templates are affected: - /{year}-{month}-{day}, where each variable can contain - - /v{major}.{minor}.{patch}, where each variable can contain . - {+base}/{+path}/{+file}, where each variable can contain / - {+path}/{name}-{+rest}, where path can contain / and…

Read on GitHub Advisory Database

On 12/02/2026, 08:39 AM, GitHub Advisory Database published "Addressable: Regular Expression Denial of Service in templates with literal text between expressions" (type: Advisory). Severity is "Medium" (medium). Related technologies: Ruby. CVE: CVE-2026-141527.