
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-141537 is a denial-of-service vulnerability in the Addressable Ruby gem caused by quadratic-complexity Unicode normalization when processing attacker-controlled input containing long runs of combining marks. It affects Addressable versions >= 2.0.0 and <= 2.9.2 (all Ruby versions for 2.0.0–2.2.4; Ruby runtimes with quadratic String#unicode_normalize for 2.2.5+). The vulnerability was reported by Patrik Ragnarsson and published on November 23, 2026, with the GitHub Advisory Database entry updated December 1, 2026. It carries a CVSS v3.1 base score of 3.7 (Low) (Github Advisory, Security Advisory).
The root cause is CWE-407 (Inefficient Algorithmic Complexity): Ruby's String#unicode_normalize sorts and reorders combining marks after a base character using a loop that is quadratic in the number of marks, and Addressable passes attacker-controlled URI text directly into this function without length-bounding the combining mark runs. The vulnerable code paths include URI.normalize_component (and thus #normalize, #normalized_path, #==, #===, #display_uri, #route_from, #route_to), URI.normalized_encode, Template#expand, #match, #extract, and IDNA.to_ascii with the pure-Ruby IDNA backend. Critically, combining marks can be pct-encoded (e.g., %CC%80%CC%A4), meaning a URI composed entirely of ASCII characters can trigger the vulnerability — URI.parse alone is unaffected since it does not normalize. Affected Ruby runtimes for Addressable >= 2.2.5 include all Ruby <= 3.2, Ruby 3.3.0–3.3.10, and Ruby 3.4.0–3.4.7; Ruby 3.3.11, 3.4.8, and 4.0.0 fixed the quadratic loop independently (Github Advisory, Security Advisory).
Exploitation results in excessive CPU consumption in the affected Ruby process, with a 16 kB path (8,000 combining marks) consuming approximately 2 seconds of CPU time per normalization call, and longer inputs potentially holding a worker for over a minute. There is no confidentiality or integrity impact — the vulnerability is limited to availability. An unauthenticated remote attacker who can submit URIs processed by any of the vulnerable Addressable code paths can repeatedly trigger this condition to deny service to the affected application worker (Github Advisory, Security Advisory).
A public proof-of-concept (PoC) Ruby script is included in the official security advisory; it demonstrates multi-second CPU consumption per call using crafted combining-mark URIs and requires no network requests or authentication. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is 0.0, and the vulnerability is not listed in the CISA KEV catalog. The NVD SSVC assessment classifies exploitation status as "poc" with "no" automatability (Github Advisory, Security Advisory).
"\u0301\u0323" * 4000, producing a 16 kB path) or pct-encoded for ASCII-only bypass (e.g., "%CC%80%CC%A4" * 4000, producing a 48 kB ASCII string).URI#normalize, URI#==, Template#expand, Template#match, or IDNA.to_ascii.String#unicode_normalize to execute its quadratic combining-mark reordering loop, consuming ~2 seconds of CPU per call for 8,000 marks.%CC%80, %CC%A4, %CC%81, %CC%A3 (combining mark pct-encodings) repeated hundreds or thousands of times; requests with paths or values exceeding typical length thresholds (e.g., > 10 kB).The primary fix is upgrading Addressable to version 2.10.0, which limits normalization to runs of at most 30 combining marks (the Stream-Safe Text Format limit per UAX #15), leaving longer runs unnormalized and restoring linear-time behavior on all Ruby versions (Github Advisory, Release). If upgrading Addressable is not immediately possible and you use Addressable >= 2.2.5, upgrading Ruby to 3.3.11, 3.4.8, or 4.0.0 (which fixed the quadratic loop in String#unicode_normalize) also mitigates the issue. Additional workarounds include: (1) limiting URI length before passing to Addressable, or (2) rejecting input containing long runs of combining marks using a regex such as /\p{M}{31,}/ applied after pct-decoding (Security Advisory).
The vulnerability was reported and the fix provided by Patrik Ragnarsson (@dentarg), who is credited in the official advisory. The fix was co-authored with Claude Opus 5.5 as noted in the merge commit. No significant broader media coverage or notable third-party researcher commentary beyond the official advisory has been identified at this time (Security Advisory, Patch Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."