CVE Catalog

CVE-2026-67987

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

5th percentile - higher than 5% of all known CVEs

Summary

The crmne/ruby_llm project at commit fa6f279847d6d7027814539d9c0dfc3bbdfd2a83 contains polynomial-time regular expression denial-of-service conditions in think-tag response parsing on Ruby 3.1.x. A malicious or anomalous model response containing many unterminated <think> tags can cause excessive CPU consumption in two consecutive regular expressions and delay chat-completion processing.

Risk Assessment

An attacker can send a specially crafted model response causing CPU exhaustion and delays, potentially leading to service unavailability.

Recommendation

Update ruby_llm to a patched version or limit model response length and apply timeouts for regular expressions.

Related vulnerabilities

Original NVD description (English source)

crmne/ruby_llm at commit fa6f279847d6d7027814539d9c0dfc3bbdfd2a83 contains polynomial-time regular expression denial-of-service conditions in think-tag response parsing on Ruby 3.1.x. A malicious or anomalous model response containing many unterminated <think> tags can cause excessive CPU consumption in two consecutive regular expressions and delay chat-completion processing

Vulnerability data from NVD (NIST) · CISA KEV · EPSS