CVE-2026-67987
Description
AI Translation Available
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
https://github.com/crmne/ruby_llm
https://github.com/crmne/ruby_llm/blob/fa6f279847d6d7027814539d9c0dfc3bbdfd2a83…
https://github.com/crmne/ruby_llm/commit/5e88411f171721b381853fa77d254e266dcf6a…