CVE-2026-67987
7.5 HIGHpublic exploit availablePublished 2026-09-29 · Updated 2026-10-01
AI risk analysis
- Summary
- A Ruby application using the crmne/ruby_llm library is vulnerable to a regular expression denial-of-service attack that can cause excessive CPU consumption when processing chat responses with many unterminated tags. This allows an attacker to delay processing and potentially exhaust system resources.
- Exploitability
- Exploitation is relatively straightforward as it requires sending a malicious model response containing many unterminated tags, but the attack is limited to systems using Ruby 3.1.x with the specific library version affected.
- Blast radius
- The impact could be significant in chat applications or services that rely on processing LLM responses, potentially causing service delays or resource exhaustion across multiple concurrent requests.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to commit fa6f279847d6d7027814539d9c0dfc3bbdfd2a83 or later
dosregexrubyllm
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.