RU
Product
Ruby
by ruby-lang · last CVE May 22, 2026
92
CVEs
0
On KEV
9.8
Max CVSS
0
New 30D
Severity mix
Critical 13High 25Medium 10Low 0
Watch

Add Ruby to your stack to get only the CVEs that touch what you run.

CVECVSSEPSSPublishedSummary · affected versions
CVE-2022-28738
9.8
3%
May 9
A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2
Affected: 3.0.0 before 3.0.4; 3.1.0 before 3.1.2
CVE-2016-2338
9.8
5%
Feb 14
An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby
Affected: 2.2.2; 2.3.0
CVE-2011-4121
9.8
3%
Nov 26
The OpenSSL extension of Ruby (Git trunk) versions after 2011-09-01 up to 2011-11-03 always generated an exponent value of '1' to be used for private RSA key generation
Affected: 1.8.7.334 before 1.9.3
CVE-2018-16395
9.8
11%
Nov 16
An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3
Affected: 2.3.0 through 2.3.7; 2.4.0 through 2.4.4; 2.5.0 through 2.5.1; 2.6.0; 2.6.0
CVE-2017-17790
9.8
6%
Dec 20
The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demonstrated by a Resolv::Hosts::new argument…
Affected: 2.2 through 2.2.8; 2.3 through 2.3.5; 2.4 through 2.4.2; 2.5.0
CVE-2017-14064
9.8
9%
Aug 31
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call
Affected: through 2.2.7; 2.3.0; 2.3.0; 2.3.0; 2.3.1; 2.3.2; +8 more
CVE-2017-11465
9.8
2%
Jul 19
The parser_yyerror function in the UTF-8 parser in Ruby 2.4.1 allows attackers to cause a denial of service (invalid write or read) or possibly have unspecified other impact via a…
Affected: 2.4.1
CVE-2017-9225
9.8
3%
May 24
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5
Affected: through 2.4.1
CVE-2016-2339
9.8
5%
Jan 6
An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby
Affected: 2.2.2; 2.3.0
CVE-2016-2337
9.8
6%
Jan 6
Type confusion exists in _cancel_eval Ruby's TclTkIp class method
Affected: 2.2.2; 2.3.0
CVE-2016-2336
9.8
3%
Jan 6
Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface
Affected: 2.2.2; 2.3.0
CVE-2018-8780
9.1
10%
Apr 3
In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL…
Affected: before 2.2.10; 2.3.0 before 2.3.7; 2.4.0 before 2.4.4; 2.5.0 before 2.5.1; 2.6.0
CVE-2017-0898
9.1
10%
Sep 15
Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) with a huge minus value
Affected: 2.2.0; 2.2.1; 2.2.2; 2.2.3; 2.2.4; 2.2.5; +9 more
CVE-2021-33621
8.8
2%
Nov 18
The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting
Affected: 2.7.0 before 2.7.7; 3.0.0 before 3.0.5; 3.1.0 before 3.1.3
CVE-2017-17405
8.8
74%
Dec 15
Ruby before 2.4.3 allows Net::FTP command injection
Affected: 2.2 through 2.2.8; 2.3 through 2.3.5; 2.4 through 2.4.2; 2.5.0
CVE-2017-10784
8.8
16%
Sep 19
The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape…
Affected: through 2.2.7; 2.3.0; 2.3.0; 2.3.0; 2.3.1; 2.3.2; +8 more
CVE-2015-7551
8.4
0%
Mar 24
The Fiddle::Handle implementation in ext/fiddle/handle.c in Ruby before 2.0.0-p648, 2.1 before 2.1.8, and 2.2 before 2.2.4, as distributed in Apple OS X before 10.11.4 and other…
Affected: through 2.0.0-p647; 2.1.0; 2.1.1; 2.1.2; 2.1.3; 2.1.4; +7 more
CVE-2026-46727
8.1
0%
May 22
An issue was discovered in Ruby 4 before 4.0.5
Affected: 4.0.0 before 4.0.5
CVE-2019-16255
8.1
4%
Nov 26
Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb…
Affected: 2.4.0 through 2.4.7; 2.5.0 through 2.5.6; 2.6.0 through 2.6.4
CVE-2018-16396
8.1
8%
Nov 16
An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3
Affected: 2.3.0 through 2.3.7; 2.4.0 through 2.4.4; 2.5.0 through 2.5.1; 2.6.0; 2.6.0
CVE-2022-28739
7.5
4%
May 9
There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2
Affected: before 2.6.10; 2.7.0 before 2.7.6; 3.0.0 before 3.0.4; 3.1.0 before 3.1.2
CVE-2021-41819
7.5
3%
Jan 1
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names
Affected: through 2.6.8; 2.7.0 before 2.7.5; 3.0.0 before 3.0.3
CVE-2021-41817
7.5
3%
Jan 1
Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string
Affected: 2.6.0 before 2.6.9; 2.7.0 before 2.7.5; 3.0.0 before 3.0.3
CVE-2021-28966
7.5
58%
Jul 30
In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir
Affected: before 2.7.3; 3.0.0 before 3.0.1
CVE-2021-28965
7.5
5%
Apr 21
The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues
Affected: before 2.6.7; 2.7.0 before 2.7.3; 3.0.0 before 3.0.1
CVE-2020-25613
7.5
4%
Oct 6
An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1
Affected: through 2.5.8; 2.6.0 through 2.6.6; 2.7.0 through 2.7.1
CVE-2020-5247
7.5
3%
Feb 28
In Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e
Affected: through 2.3.0; 2.4.0 through 2.4.7; 2.5.0 through 2.5.6; 2.6.0 through 2.6.4; 2.7.0
CVE-2019-16201
7.5
5%
Nov 26
WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 has a regular expression Denial of Service cause by looping/backtracking
Affected: 2.4.0 through 2.4.7; 2.5.0 through 2.5.6; 2.6.0 through 2.6.4
CVE-2018-8779
7.5
7%
Apr 3
In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the UNIXServer.open and UNIXSocket.open methods are not checked for null…
Affected: 2.2.0 before 2.2.10; 2.3.0 before 2.3.7; 2.4.0 before 2.4.4; 2.5.0 before 2.5.1; 2.6.0
CVE-2018-8778
7.5
8%
Apr 3
In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, an attacker controlling the unpacking format (similar to format string…
Affected: 2.2.0 before 2.2.10; 2.3.0 before 2.3.7; 2.4.0 before 2.4.4; 2.5.0 before 2.5.1; 2.6.0
CVE-2018-8777
7.5
4%
Apr 3
In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, an attacker can pass a large HTTP request with a crafted header to WEBrick…
Affected: 2.2.0 before 2.2.10; 2.3.0 before 2.3.7; 2.4.0 before 2.4.4; 2.5.0 before 2.5.1; 2.6.0
CVE-2018-6914
7.5
10%
Apr 3
Directory traversal vulnerability in the Dir.mktmpdir method in the tmpdir library in Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and…
Affected: 2.2.0 before 2.2.10; 2.3.0 before 2.3.7; 2.4.0 before 2.4.4; 2.5.0 before 2.5.1; 2.6.0
CVE-2017-14033
7.5
8%
Sep 19
The decode method in the OpenSSL::ASN1 module in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows attackers to cause a denial of service (interpreter crash)…
Affected: 2.2.0; 2.2.0; 2.2.0; 2.2.0; 2.2.1; 2.2.2; +18 more
CVE-2014-6438
7.5
4%
Sep 6
The URI.decode_www_form_component method in Ruby before 1.9.2-p330 allows remote attackers to cause a denial of service (catastrophic regular expression backtracking, resource…
Affected: through 1.9.2
CVE-2017-9229
7.5
5%
May 24
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5
Affected: through 2.4.1
CVE-2017-6181
7.5
4%
Apr 3
The parse_char_class function in regparse.c in the Onigmo (aka Oniguruma-mod) regular expression library, as used in Ruby 2.4.0, allows remote attackers to cause a denial of…
Affected: 2.4.0
CVE-2021-32066
7.4
3%
Aug 1
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1
Affected: 2.6.0 through 2.6.7; 2.7.0 through 2.7.3; 3.0.0 through 3.0.1
CVE-2009-5147
7.3
8%
Mar 29
DL::dlopen in Ruby 1.8, 1.9.0, 1.9.2, 1.9.3, 2.0.0 before patchlevel 648, and 2.1 before 2.1.8 opens libraries with tainted names
Affected: 1.8.0; 1.9.0; 1.9.2; 1.9.3; 2.0.0; 2.0.0; +17 more
CVE-2012-5380
6.7
1%
Oct 11
Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p194, when installed in the top-level C:\ directory, might allow local users to gain privileges…
Affected: 1.9.3
CVE-2019-15845
6.5
3%
Nov 26
Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 mishandles path checking within File.fnmatch functions
Affected: 2.4.0 through 2.4.7; 2.5.0 through 2.5.6; 2.6.0 through 2.6.4
CVE-2015-9096
6.1
4%
Jun 12
Net::SMTP in Ruby before 2.4.0 is vulnerable to SMTP command injection via CRLF sequences in a RCPT TO or MAIL FROM command, as demonstrated by CRLF sequences immediately before…
Affected: through 2.4.0
CVE-2015-1855
5.9
3%
Nov 29
verify_certificate_identity in the OpenSSL extension in Ruby before 2.0.0 patchlevel 645, 2.1.x before 2.1.6, and 2.2.x before 2.2.2 does not properly validate hostnames, which…
Affected: 2.1.0 before 2.1.6; 2.2.0 before 2.2.2; 2.0.0; 2.0.0; 2.0.0; 2.0.0; +7 more
CVE-2021-31810
5.8
3%
Jul 13
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1
Affected: through 2.6.7; 2.7.0 through 2.7.3; 3.0.0 through 3.0.1
CVE-2023-28756
5.3
2%
Mar 31
A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1
Affected: through 2.7.7
CVE-2020-10933
5.3
3%
May 4
An issue was discovered in Ruby 2.5.x through 2.5.7, 2.6.x through 2.6.5, and 2.7.0
Affected: 2.5.0 through 2.5.7; 2.6.0 through 2.6.5; 2.7.0
CVE-2019-16254
5.3
5%
Nov 26
Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response Splitting
Affected: through 2.3.0; 2.4.0 through 2.4.7; 2.5.0 through 2.5.6; 2.6.0 through 2.6.4
CVE-2011-3624
5.3
2%
Nov 26
Various methods in WEBrick::HTTPRequest in Ruby 1.9.2 and 1.8.7 and earlier do not validate the X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server headers in requests, which…
Affected: 1.8.7; 1.9.2
CVE-2017-17742
5.3
5%
Apr 3
Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 allows an HTTP Response Splitting attack
Affected: 2.2.0 before 2.2.10; 2.3.0 before 2.3.7; 2.4.0 before 2.4.4; 2.5.0 before 2.5.1; 2.6.0
CVE-2015-3900
–
9%
Jun 24
RubyGems 2.0.x before 2.0.16, 2.2.x before 2.2.4, and 2.4.x before 2.4.7 does not validate the hostname when fetching gems or making API requests, which allows remote attackers to…
Affected: 1.9; 1.9.1; 1.9.2; 1.9.3; 2.0.0; 2.1; +6 more
CVE-2014-8090
–
6%
Nov 21
The REXML parser in Ruby 1.9.x before 1.9.3 patchlevel 551, 2.0.x before 2.0.0 patchlevel 598, and 2.1.x before 2.1.5 allows remote attackers to cause a denial of service (CPU and…
Affected: through 1.9.3; 1.9.3; 1.9.3; 1.9.3; 1.9.3; 1.9.3; +20 more
Page 1 of 2 · 92 total