Denial‑of‑Service via Polynomial‑Time Regex in ruby_llm <think> Tag Parsing
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Crmne | Ruby Llm |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.432% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Crmne
Crmne ruby Llm |
|
| Vendors & Products |
Crmne
Crmne ruby Llm |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Denial‑of‑Service via Polynomial‑Time Regex in ruby_llm <think> Tag Parsing |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Ruby LLM Regular Expression Denial‑of‑Service in Think‑Tag Parsing | |
| Weaknesses | CWE-20 CWE-770 |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-1333 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Ruby LLM Regular Expression Denial‑of‑Service in Think‑Tag Parsing | |
| Weaknesses | CWE-20 CWE-770 |
| Type | Values Removed | Values Added |
|---|---|---|
| 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 | |
| References |
|