CVE-2026-141529
LowCVSS 3.7Exploitation Probability (EPSS)
Elevated risk56th percentile - higher than 56% of all known CVEs
Summary
In the Addressable library (an alternative URI implementation for Ruby), from version 2.9.1 until 2.10.0, Addressable::Template builds its cached regular expression in quadratic time when an untrusted template pattern contains non-ASCII text or a long run of adjacent expressions. Operations that compile or inspect such templates, including match, extract, to_regexp, variables, variable_defaults, and freeze, can consume excessive CPU and cause denial of service.
Risk Assessment
An untrusted template pattern can cause excessive CPU consumption and denial of service in Ruby applications processing Addressable templates. This may disrupt web services or APIs.
Recommendation
Update the Addressable library to version 2.10.0 or later. Until patched, avoid processing untrusted Addressable::Template patterns.
Other vulnerabilities in Addressable
See all- CVE-2026-141539Medium
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.2.5 until 2.10.0, with the native IDNA backend, Addressable::URI#normalized_host passes a percent-encoded NUL after decoding to libidn, which truncates the remainder of the label.
- CVE-2026-141538Medium
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, Addressable::URI#user=, #password=, #userinfo=, and matching Addressable::URI.new options store userinfo values without rejecting or encoding host-changing delimiters.
- CVE-2026-141537Low
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, Addressable performs Unicode normalization on attacker-controlled input with quadratic complexity when it contains long runs of combining marks, resulting in denial of service.
- CVE-2026-141536Low
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.1.2 until 2.10.0, Addressable::URI#request_uri returns stored control characters and spaces without encoding them, allowing an untrusted URI to terminate the line early and inject headers in an HTTP client.
- CVE-2026-141535Low
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.5 until 2.10.0, Addressable accepts bracketed non-IP hosts that are not IPv6 or IPvFuture literals, while Addressable::URI#hostname removes those brackets, potentially allowing connection to a loopback or internal hostname.
- CVE-2026-141532Low
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.4.0 until 2.10.0, Addressable::URI#origin= parses an assigned origin with a pattern that can take the host from colon-containing userinfo instead of from the authority, allowing an application to check one host and use another.
- CVE-2026-141531Low
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, Addressable::IDNA.to_unicode decodes an A-label whose Unicode form contains U+3002, and Addressable::URI#display_uri then shows a label boundary absent from the real host, potentially misleading users about the domain.
- CVE-2026-141530Low
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, the pure-Ruby Addressable::IDNA.to_unicode implementation omits the IDNA2003 nameprep bidirectional-label rule, potentially allowing an attacker-controlled host to be rendered identically to a target host under certain conditions.
- CVE-2026-141528Medium
Addressable versions 2.3.0 through 2.10.0 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.
- CVE-2026-141527Medium
Addressable versions 2.3.0 through 2.10.0 generate ambiguous regular expressions for URI templates containing literal text between expressions when a preceding variable can also consume that literal text. Calling Template#match or Template#extract with a crafted URI can cause polynomial backtracking and denial of service on MRI Ruby before 3.2 and JRuby.
Original NVD description (English source)
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.9.1 until 2.10.0, Addressable::Template builds its cached regular expression in quadratic time when an untrusted template pattern contains non-ASCII text or a long run of adjacent expressions. Operations that compile or inspect such templates, including match, extract, to_regexp, variables, variable_defaults, and freeze, can consume excessive CPU and cause denial of service. This issue is fixed in version 2.10.0.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

