Skip to main content

Addressable EUVDEUVD-2026-140764

| CVE-2026-141537 LOW
Inefficient Algorithmic Complexity (CWE-407)
2026-12-01 GitHub_M GHSA-v6hg-69pc-4f3f
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted URI with long combining-mark run
  2. Exploit
    Application normalizes/compares/matches it via Addressable
  3. Execution
    Pure-Ruby unicode_normalize runs in quadratic time
  4. Impact
    Worker CPU exhausted for seconds per request, denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

The application must pass attacker-controlled input through one of Addressable's normalizing code paths: URI#normalize and the normalized_* methods, URI#, URI#=, URI#display_uri, URI#route_from/#route_to, URI.normalized_encode, Template#expand/#match/#extract, or the pure-Ruby IDNA.to_ascii host processing. URI.parse alone does NOT normalize and is not affected, and host processing via the native libidn implementation is linear (not affected). The malicious input is a run of more than ~30 combining marks (literal or pct-encoded ASCII), with cost growing quadratically in run length. Key LIMITING factors: on Addressable 2.2.5-2.9.2 the issue only bites when the Ruby runtime's String#unicode_normalize still has the quadratic loop (Ruby 3.2 and earlier, 3.3.0-3.3.10, 3.4.0-3.4.7); Ruby 3.3.11, 3.4.8 and 4.0.0 remove it. Versions 2.0.0-2.2.4 are affected on every Ruby. No authentication is required per the CVSS PR:N, but a vulnerable method must be reachable with attacker input. Impact is availability-only (worker CPU exhaustion); no data exposure or modification.

Impact

All signals converge on a genuine but low-priority denial-of-service issue. The input CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) yields a 3.7 LOW score with availability-only, partial impact and no confidentiality or integrity effect, which matches CWE-407 (inefficient algorithmic complexity) and the SSVC reading of Technical Impact: partial. SSVC also records Exploitation: poc and Automatable: no, and the vendor/vuln.today Decision label is 'monitor' - these are consistent with each other and with the low CVSS. The 'Automatable: no' judgment is the decisive de-escalating signal: exploitation is not a sprayable mass attack because the application must actively route attacker-controlled text through a normalizing/comparing/matching Addressable method, and on versions >= 2.2.5 it additionally requires the Ruby runtime's String#unicode_normalize to still have the quadratic loop (Ruby 3.2 and earlier, 3.3.0-3.3.10, 3.4.0-3.4.7; fixed in 3.3.11, 3.4.8, 4.0.0). No EPSS score was supplied, so probabilistic exploitation likelihood cannot be compared here - STATE EXPLICITLY: EPSS is MISSING from the input. The CVE is NOT in CISA KEV, so there is no confirmed active exploitation. A public proof-of-concept is present (the GHSA advisory embeds a working demonstration/benchmark script), but a PoC that holds a worker for seconds is not the same as active in-the-wild exploitation, and the two must not be conflated. One worth-noting tension: I would rate the raw trigger complexity lower than the input's AC:H (see assessed vector) - the input's AC:H most plausibly encodes the Ruby-runtime/method-path dependency rather than any attacker-uncontrolled timing. Net: a real, legitimately-tracked availability bug that merits patching in a normal maintenance cycle, not an emergency.

Exploit ScenarioDerived

An attacker submits a request containing a URI (or URI component) with a long run of combining marks - which can be pure-ASCII pct-encoded, e.g. '%CC%80%CC%A4' repeated thousands of times - to an endpoint that normalizes, compares ( / =), displays, routes, or template-matches that URI with Addressable. The pure-Ruby normalization runs in time quadratic to the run length, so a ~16 kB path consumes roughly 2 seconds of CPU and longer inputs exceed a minute, tying up a worker per request. A working demonstration script is published in the GHSA advisory (it makes no network calls), but no active exploitation is confirmed.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Quadratic-time Unicode normalization in the Ruby Addressable gem (2.0.0 through 2.9.2) lets remote attackers burn CPU on application workers by submitting URIs that contain long runs of combining marks, either literal or pct-encoded ASCII. Any code path that normalizes, compares, matches or template-expands attacker-supplied input is a candidate - URI#normalize and the normalized_* methods, #, #=, #display_uri, #route_from/#route_to, URI.normalized_encode, Template#expand/#match/#extract, and pure-Ruby IDNA.to_ascii host processing; URI.parse alone does not normalize and is unaffected. Impact is availability-only (the 16 kB example in the advisory costs roughly two seconds of CPU, longer inputs over a minute). Proof-of-concept code is published in the advisory and SSVC records exploitation as poc, but there is no KEV listing; on Addressable 2.2.5 and later the flaw only bites when the host Ruby's String#unicode_normalize is still quadratic (Ruby 3.2 and earlier, 3.3.0-3.3.10, 3.4.0-3.4.7), while 2.0.0-2.2.4 are affected on every Ruby.

RemediationAI

Upgrade to Addressable 2.10.0 (release tag addressable-2.10.0, commit 971be7cf4b484d4fed43dad57d5c8d967b5d08e6), which caps normalization at runs of 30 combining marks so all affected call sites stay linear on any Ruby. If a gem upgrade must be deferred and the deployment is on Addressable 2.2.5 or later, upgrading the Ruby runtime to 3.3.11, 3.4.8, 4.0.0 or later removes the quadratic String#unicode_normalize loop and closes the exposure without touching the gem, though it does nothing for Addressable 2.0.0-2.2.4. The advisory's alternative mitigations are to bound URI length before normalizing or to reject input containing a run of 31 or more combining marks - for example matching /\p{M}{31,}/ after percent-decoding - which mirrors the fixed behavior but shifts responsibility onto every application code path that normalizes, compares or template-matches URIs, and risks rejecting unusual but legitimate text if the threshold is set too low. Leaving URIs unnormalized (using URI.parse outputs directly) avoids the affected code paths but changes comparison and routing semantics, and switching IDNA host handling to the native libidn backend removes only the pure-Ruby host vector. Advisory: https://github.com/sporkmonger/addressable/security/advisories/GHSA-v6hg-69pc-4f3f.

Affected VersionsENISA

addressable 2.0.0, < 2.10.0

Affected Packages

rubygems addressable fix: 2.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in rubygems

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-407, an inefficient algorithm with super-linear cost. Ruby's String#unicode_normalize reorders a base character and the combining marks that follow it using a loop whose work grows quadratically with the number of marks, and Addressable historically handed attacker-controlled text straight to that method. Because the marks can be percent-encoded, a URI composed entirely of printable ASCII (for example a path of repeated %CC%80%CC%A4) triggers the same cost, so filtering on character encoding or requiring non-ASCII bytes does not help. The fix commit 971be7c adds lib/addressable/unicode_normalization.rb, which pre-scans for runs of more than 30 combining marks - the Stream-Safe Text Format limit from UAX #15 - splits them out, and normalizes only the surrounding text, keeping the operation linear on any Ruby; it also accounts for U+FF9E and U+FF9F, which NFKC/NFKD map onto combining marks U+3099 and U+309A. The vulnerable call sites replaced by that wrapper include URI.normalize_component (the basis for #normalize, the normalized_* accessors, #, #=, #display_uri and the route_from/route_to helpers), URI.normalized_encode, Template#normalize_value, and the pure-Ruby IDNA.to_ascii host path; the native libidn implementation of IDNA is linear and was never affected. Ruby itself addressed the quadratic loop in 3.3.11, 3.4.8 and 4.0.0, which is why the gem's exposure from 2.2.5 onward depends on the runtime version as well as the gem version.

Know when Addressable gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Remote unauthenticated attacker-controlled input (AV:N/PR:N/UI:N); the trigger is deterministic crafted input with no race or uncontrolled state, so AC:L; availability-only partial impact (A:L), no C/I.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 23:19 EUVD
CVE Published
Dec 01, 2026 - 21:41 cve.org
LOW 3.7

DescriptionCVE.org

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. URI normalization, comparison, display, routing, template operations, and host processing by the pure-Ruby IDNA implementation can consume excessive CPU time when they handle crafted input, resulting in denial of service. Starting with version 2.2.5, the issue affects only Ruby runtimes whose String#unicode_normalize implementation has quadratic complexity. This issue is fixed in version 2.10.0.

Threat Intelligence Overview

EPSS Score
0.8%
Top 43% exploitable
Prevalence
High
extremely popular Ruby URI gem, transitive dependency of many web apps
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

19
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-35611 HIGH
7.5 Apr 07

Regular expression denial of service (ReDoS) in the Addressable Ruby library versions 2.3.0 through 2.8.x allows unauthe

CVE-2021-32740 HIGH
7.5 Jul 06

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Rated hi

CVE-2026-141528 MEDIUM
5.9 Dec 01

Regular expression denial of service in the Addressable Ruby gem (2.3.0 through 2.9.2) allows crafted URIs to force exce

CVE-2026-141527 MEDIUM
5.9 Dec 01

Polynomial backtracking in Addressable's URI template matching lets a crafted URI drive Template#match or Template#extra

CVE-2026-141526 MEDIUM
5.9 Dec 01

Polynomial-time regular expression backtracking in the Addressable Ruby gem's URI template matcher (Template#match and T

CVE-2026-141525 MEDIUM
5.9 Dec 01

Polynomial-time regular-expression backtracking in the Addressable Ruby gem (2.9.1 through 2.9.2) lets unauthenticated r

CVE-2026-141539 MEDIUM
4.8 Dec 01

Hostname filtering bypass in the Addressable Ruby URI library (versions 2.2.5 through 2.9.2, fixed in 2.10.0) causes a p

CVE-2026-141538 MEDIUM
4.8 Dec 01

Addressable, the Ruby URI library, fails to reject or percent-encode host-changing delimiters in the userinfo component:

CVE-2026-141529 LOW
3.7 Dec 01

Denial of service in the Addressable Ruby gem 2.9.1 through 2.9.x lets unauthenticated remote attackers consume excessiv

CVE-2026-141524 LOW
3.7 Dec 01

Addressable, the Ruby URI and RFC 6570 template library, takes the variable name in an unexploded ';', '?', or '&' templ

CVE-2026-141535 LOW
3.7 Dec 01

SSRF filter bypass in the Addressable Ruby gem (2.3.5 through 2.9.2) lets an attacker-supplied URL pass a destination ch

CVE-2026-141536 LOW
3.7 Dec 01

Addressable's URI#request_uri (versions 2.1.2 through 2.9.2) returns the path and query verbatim, so stored control char

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy