Skip to main content
CVE-2026-141525VulnerabilityPublished

Addressable: Regular Expression Denial of Service

Affects addressableSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141525· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.10.0 when convenient.

Data as of 2 Dec 2026, 00:19 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.9
Patch
Available – fixed in 2.10.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade addressable to 2.10.0.

Affected software

ProductAffectedFixed in
RubyGemsaddressableAffected
  • >=2.9.1 <2.10.0
Fixed in
  • 2.10.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version of Addressable is available in 2.10.0 and should be applied. Upgrading to MRI Ruby 3.3 or later also mitigates the issue due to improved regex memoization. As workarounds, limit the length of user-supplied URIs before matching to bound resource use. On MRI Ruby 3.2, applying a timeout (e.g., Timeout.timeout) around Template#match or Template#extract calls can interrupt slow matches, though this is not safe in all applications. Setting Regexp.timeout on MRI Ruby 3.2 causes slow matches to raise Regexp::TimeoutError. On TruffleRuby, timeouts do not stop regex matching, so input length limiting is recommended. Users not using template matching are unaffected and require no action.

Description

Addressable versions 2.9.1 and 2.9.2 contain a Regular Expression Denial of Service (ReDoS) vulnerability affecting URI template matching on MRI Ruby 3.2 and TruffleRuby 40.0. The issue arises from new regular expressions with lookaround assertions that cause polynomial-time backtracking on these runtimes, leading to excessive resource consumption when processing maliciously crafted URIs. The vulnerability is fixed in Addressable 2.10.0, and MRI Ruby 3.3 and later are not affected due to improved regex memoization. Workarounds include upgrading Ruby, limiting input length, or applying timeouts on matching calls.

References

Community reviews

Loading reviews…