CVE-2026-141525 — Addressable — CWE-1333
### Impact Addressable 2.9.1 changed the regular expressions generated for URI templates to fix GHSA-9f42-57jx-vpp3 and GHSA-4w5q-wg7v-w6gp. The new regular expressions contain lookaround assertions for some expressions, such as `{a}{b}`, `{a,b}`, `{/a,b}`, `{?a*,b}` and expressions with an exploded variable followed by unexploded ones. MRI Ruby 3.2 doesn't memoize a regular expression that contains a lookaround, and memoization is decided for the whole template's regular expression, so one such expression makes the rest of the template backtrack as on older Rubies. TruffleRuby 40.0 also backtracks for some of these regular expressions. As a result, templates that 2.9.0 matched in linear time on these runtimes are polynomial since 2.9.1. On MRI Ruby 3.2, this includes templates that combine a common shape with one of those expressions, such as `/{year}-{month}-{day}/{a}{b}`. When `Template#match` or `Template#extract` is called with a maliciously crafted URI, this can result in uncontrolled resource consumption, leading to denial of service. With 2.9.2, on MRI Ruby 3.2: - `/{year}-{month}-{day}/{a}{b}` takes 12 seconds to reject 2 KB of input. With 2.9.0, it takes under 0.001 seconds. - `{?a,a*,a*}{a*}{.a*,b*,c}` takes over 15 seconds to reject 2 KB of input. With 2.9.0, it takes 0.001 seconds. - `{?a*,b,c*}` takes about 1 second to reject 19 KB of input. With 2.9.0, it takes 0.003 seconds. - `{a,b}{c,d}{e,f}` takes 2.9 seconds to reject 1 KB of input. With 2.9.0, it take
### Impact Addressable 2.9.1 changed the regular expressions generated for URI templates to fix GHSA-9f42-57jx-vpp3 and GHSA-4w5q-wg7v-w6gp. The new regular expressions contain lookaround assertions for some expressions, such as `{a}{b}`, `{a,b}`, `{/a,b}`, `{?a*,b}` and expressions with an exploded variable followed by unexploded ones. MRI Ruby 3.2 doesn't memoize a regular expression that contains a lookaround, and memoization is decided for the whole template's regular expression, so one such expression makes the rest of the template backtrack as on older Rubies. TruffleRuby 40.0 also backtracks for some of these regular expressions. As a result, templates that 2.9.0 matched in linear time on these runtimes are polynomial since 2.9.1. On MRI Ruby 3.2, this includes templates that combine a common shape with one of those expressions, such as `/{year}-{month}-{day}/{a}{b}`. When `Template#match` or `Template#extract` is called with a maliciously crafted URI, this can result in uncontrolled resource consumption, leading to denial of service. With 2.9.2, on MRI Ruby 3.2: - `/{year}-{month}-{day}/{a}{b}` takes 12 seconds to reject 2 KB of input. With 2.9.0, it takes under 0.001 seconds. - `{?a,a*,a*}{a*}{.a*,b*,c}` takes over 15 seconds to reject 2 KB of input. With 2.9.0, it takes 0.001 seconds. - `{?a*,b,c*}` takes about 1 second to reject 19 KB of input. With 2.9.0, it takes 0.003 seconds. - `{a,b}{c,d}{e,f}` takes 2.9 seconds to reject 1 KB of input. With 2.9.0, it take
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141525
CVSS 5.9/10 · MEDIUM · 01.12.2026
CWE: CWE-1333
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Impact
Addressable 2.9.1 changed the regular expressions generated for URI templates to fix GHSA-9f42-57jx-vpp3 and GHSA-4w5q-wg7v-w6gp. The new regular expressions contain lookaround assertions for some expressions, such as {a}{b}, {a,b}, {/a,b}, {?a*,b} and expressions with an exploded variable followed by unexploded ones. MRI Ruby 3.2 doesn't memoize a regular expression that co…
Affected: addressable
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; service can be completely taken down.
🛡️ REMEDIATION
→ Apply vendor security update for addressable.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]