Description
crmne/ruby_llm at commit fa6f279847d6d7027814539d9c0dfc3bbdfd2a83 contains a polynomial-time regular expression denial-of-service condition in Mistral model capability matching on Ruby 3.1.x
Published: 2026-10-02
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Updated Code
AI Analysis

Impact

The ruby_llm library contains a regular expression routine that can be forced into a quadratic or worse runtime when given specially crafted input. This weakness enables an attacker to consume excessive CPU resources, resulting in a denial of service. The flaw is classified as a regular expression denial‑of‑service condition, corresponding to CWE-1333.

Affected Systems

Any application that imports the ruby_llm gem and executes the Mistral capability matching code on Ruby 3.1.x is vulnerable. The issue appears in the code path introduced in commit fa6f279 and affects projects that use the providers/mistral/capabilities module for capability matching.

Risk and Exploitability

Exploitability requires that malicious input be processed by the vulnerable regex. The CVSS score of 7.5 indicates a high severity level. No public exploits have been reported and no EPSS score is available; the vulnerability is not listed in the CISA KEV catalog. The risk level is therefore high, though untrusted input could trigger a DoS condition in an affected application.

Generated by OpenCVE AI on October 2, 2026 at 23:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the ruby_llm gem to a commit following dd3c848, which removes the vulnerable regex logic.
  • Validate or sanitize any input passed to the capability matching routine to avoid complex patterns that could trigger excessive backtracking.
  • Configure the Ruby regex engine with a timeout or employ a safer library for capability matching to limit execution time.

Generated by OpenCVE AI on October 2, 2026 at 23:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 04 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Crmne
Crmne ruby Llm
Vendors & Products Crmne
Crmne ruby Llm

Fri, 02 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
Title Ruby LLM Regular Expression Denial‑of‑Service on Mistral Capability Matching

Fri, 02 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
Title Polynomial‑time Regular Expression Denial of Service in Ruby‑LLM Mistral Capability Matching
Weaknesses CWE-749

Fri, 02 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1333
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Title Polynomial‑time Regular Expression Denial of Service in Ruby‑LLM Mistral Capability Matching
Weaknesses CWE-749

Fri, 02 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
Description crmne/ruby_llm at commit fa6f279847d6d7027814539d9c0dfc3bbdfd2a83 contains a polynomial-time regular expression denial-of-service condition in Mistral model capability matching on Ruby 3.1.x
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-02T19:09:36.496Z

Reserved: 2026-07-30T00:00:00.000Z

Link: CVE-2026-67989

cve-icon Vulnrichment

Updated: 2026-10-02T19:08:32.274Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-02T16:16:51.247

Modified: 2026-10-02T20:17:03.933

Link: CVE-2026-67989

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T20:57:23Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity