Skip to main content
VulnerabilityPublished

CVE-2026-141527: Addressable · Regular Expression Denial of Service in templates with literal text between expressions

Affects asciidoctorSource GCVE Database

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

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

Data as of 3 Dec 2026, 01:36 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.0.19, 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 2 Dec 2026.

What to do

Upgrade asciidoctor to 2.0.19; addressable to 2.10.0.

Affected software

ProductAffectedFixed in
Homebrewasciidoctorpkg:brew/asciidoctorOther threatsAffected
  • >=2.0.10 <2.0.19
Fixed in
  • 2.0.19
RubyGemsaddressablepkg:gem/addressableOther threatsAffected
  • 2.3.2 – 2.9.2
  • >=2.3.0 <2.10.0
27 affected builds
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 fix is available in Addressable version 2.10.0. Users should upgrade to this version to resolve the vulnerability. Additionally, upgrading Ruby to MRI Ruby 3.3 or later mitigates the issue on MRI Ruby runtimes. For JRuby users or those unable to upgrade immediately, limiting the length of user-supplied URIs before matching and applying short timeouts (e.g., using Timeout.timeout) around Template#match or Template#extract calls can reduce risk. Note that timeouts may interrupt matching arbitrarily and may not be safe in all applications.

Description

Addressable versions from 2.3.0 (excluding yanked 2.3.0 and 2.3.1) through 2.9.2 contain a Regular Expression Denial of Service (ReDoS) vulnerability in URI template matching when templates have literal text between expressions. This vulnerability causes excessive backtracking in regular expression matching, leading to high CPU consumption and denial of service when processing crafted URIs. The issue is fixed in version 2.10.0, although some slow matching cases remain on certain Ruby runtimes. MRI Ruby 3.2+ and TruffleRuby 40.0 are not affected. Workarounds include upgrading Ruby to 3.3+, limiting URI length, or applying timeouts around matching calls.

References

Community reviews

Loading reviews…