Skip to content

Commit 44784c2

Browse files
authored
Merge pull request #1242 from jasnow/sep-14-advs
One new ruby_llm advisory @flavorjones - Thanks for reviewing and approving this PR.
2 parents f08b5bf + 2ba0c47 commit 44784c2

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

‎gems/ruby_llm/CVE-2026-67991.yml‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
gem: ruby_llm
3+
cve: 2026-67991
4+
ghsa: 42r3-x6vx-x49x
5+
url: https://nvd.nist.gov/vuln/detail/CVE-2026-67991
6+
title: Polynomial-Time Regular Expression Denial of Service (ReDoS) vulnerability
7+
date: 2026-08-13
8+
description: |
9+
crmne/ruby_llm at commit fa6f279847d6d7027814539d9c0dfc3bbdfd2a83
10+
contains a polynomial-time regular expression denial-of-service
11+
condition in RubyLLM::Utils.underscore on Ruby 3.1.x.
12+
A very long crafted class, agent, or tool name can cause
13+
excessive CPU consumption and a denial of service.
14+
15+
Update: "the helper was extracted from existing code, so released
16+
gems were affected too. All three reports concern polynomial-time
17+
behavior on Ruby 3.1.x; exposure depends on untrusted data reaching
18+
the affected operation."
19+
cvss_v3: 7.5
20+
unaffected_versions:
21+
- "< 0.1.0.pre42"
22+
patched_versions:
23+
- ">= 2.0.0.rc1"
24+
related:
25+
url:
26+
- https://nvd.nist.gov/vuln/detail/CVE-2026-67991
27+
- https://github.com/crmne/ruby_llm/releases/tag/v2.0.0.rc1
28+
- https://rubygems.org/gems/ruby_llm/versions/2.0.0.rc1
29+
- https://github.com/crmne/ruby_llm/commit/9d75b033d7d00c4e1baa9b0afb4828faa8bd6602
30+
- https://gist.github.com/Zykis1024/9f2d68fa3fd4e3a0ab83063bbe61a8e2
31+
- https://github.com/crmne/ruby_llm/blob/fa6f279847d6d7027814539d9c0dfc3bbdfd2a83/lib/ruby_llm/utils.rb#L13
32+
- https://github.com/advisories/GHSA-42r3-x6vx-x49x
33+
notes: |
34+
- cvss_v3 from nvd.nist.gov and GHSA URL
35+
- 9/14/2026: Versions data and "description" update came from developer email:
36+
-- "CVE-2026-67991: affected >= 0.1.0.pre42, < 2.0.0.rc1.
37+
Fix: https://github.com/crmne/ruby_llm/commit/9d75b033d7d00c4e1baa9b0afb4828faa8bd6602"

0 commit comments

Comments
 (0)