{"id":"UBUNTU-CVE-2026-67987","details":"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 \u003cthink\u003e tags can cause excessive CPU consumption in two consecutive regular expressions and delay chat-completion processing","modified":"2026-10-17T13:00:40.031370956Z","published":"2026-09-29T20:17:00Z","upstream":["CVE-2026-67987"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-67987"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-67987"},{"type":"REPORT","url":"https://github.com/crmne/ruby_llm"},{"type":"REPORT","url":"https://github.com/crmne/ruby_llm/blob/fa6f279847d6d7027814539d9c0dfc3bbdfd2a83/lib/ruby_llm/protocols/chat_completions/chat.rb#L355-L356"},{"type":"REPORT","url":"https://github.com/crmne/ruby_llm/commit/5e88411f171721b381853fa77d254e266dcf6ad8"}],"affected":[{"package":{"name":"ruby-llm","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-llm?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-llm","binary_version":"1.16.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67987.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}