Skip to main content
VulnerabilityPublished

CVE-2026-141528: Addressable · Regular Expression Denial of Service in templates with several variables

Affects asciidoctorSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141528· 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

Upgrade Addressable to version 2.10.0 or later, which fixes the vulnerability except for limited cases on older Ruby runtimes. If upgrading is not possible, mitigate by upgrading to MRI Ruby 3.3 or later, avoiding matching user-supplied input against vulnerable template patterns, limiting the length of input URIs before matching, and applying timeouts around Template#match or Template#extract calls on MRI Ruby and JRuby. On MRI Ruby 3.2, enabling Regexp.timeout can raise a timeout error on slow matches. Note that timeouts may not be effective on TruffleRuby. Users who do not use template matching or only use template expansion are not affected.

Description

Addressable versions from 2.3.0 through 2.9.2 contain a Regular Expression Denial of Service (ReDoS) vulnerability in URI template matching when templates include several variables in certain patterns. This can cause excessive backtracking in the regex engine, leading to high CPU usage and denial of service when processing maliciously crafted URIs. The vulnerability is fixed in version 2.10.0 with some exceptions on older Ruby runtimes. MRI Ruby 3.3 and later are not affected. Users who only use URI parsing or template expansion are not impacted.

References

Community reviews

Loading reviews…