Skip to content
Low 3.7

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

CVE-2026-141529 First seen on SecPulse

Affected packages

PackageAffected → Fixed
sporkmongeraddressable —
RubyGemsaddressable
< 2.10.0→ 2.10.0
Original description The description as published by the 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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details