CVE-2026-141529 PUBLISHED

Addressable::Template builds its regexp in quadratic time for patterns with non-ASCII characters

Assigner: GitHub_M
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 3.7

Product Status

Vendor sporkmonger
Product addressable
Versions
  • Version >= 2.9.1, < 2.10.0 is affected

References

Problem Types

  • CWE-407: Inefficient Algorithmic Complexity CWE