Ruby-Lang vulnerabilities
Every CVE BreachSpider tracks for Ruby-Lang, with affected versions, the vendor's fix and the advisory. Send a device's exact version to learn which of these apply to it.
CVEs137
Critical (CVSS 9+)23
High (7 to 8.9)53
Known-exploited0
Ruby-Lang products with the most CVEs
Ruby 112Rexml 8Net\ 6Cgi 5Webrick 5Uri 4Openssl 2Rdoc 2Date 1Javascript Object Notation 1Json 1Rake 1Ruby193 1Time 1Trunk 1Zlib 1
A product appearing here does not mean every version is affected. Each CVE lists the affected versions; the free check answers for the version you run.
Ruby-Lang's own CVEs by priority
CVE-2009-412410.0Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 bef...CVE-2008-266310.0Multiple integer overflows in the rb_ary_store function in Ruby 1.8.4 and earlier, 1.8....CVE-2008-266210.0Multiple integer overflows in the rb_str_buf_append function in Ruby 1.8.4 and earlier,...CVE-2026-422579.8Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ru...CVE-2026-278209.8zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0...CVE-2021-418169.8CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and r...CVE-2018-163959.8An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5...CVE-2017-177909.8The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, w...CVE-2017-140649.8Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary m...CVE-2017-114659.8The parser_yyerror function in the UTF-8 parser in Ruby 2.4.1 allows attackers to cause...CVE-2016-23399.8An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initiali...CVE-2016-23389.8An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document ...CVE-2016-23379.8Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Attacker passing dif...CVE-2016-23369.8Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query...CVE-2011-41219.8The OpenSSL extension of Ruby (Git trunk) versions after 2011-09-01 up to 2011-11-03 al...CVE-2026-332109.1Ruby JSON is a JSON implementation for Ruby. From version 2.14.0 to before versions 2.1...CVE-2018-87809.1In 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 ...CVE-2017-08989.1Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which co...CVE-2021-336218.8The 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 ...CVE-2017-174058.8Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gette...CVE-2017-107848.8The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3...CVE-2026-467278.1An issue was discovered in Ruby 4 before 4.0.5. A race condition leading to a use-after...CVE-2018-163968.1An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, a...CVE-2011-48157.8Ruby (aka CRuby) before 1.8.7-p357 computes hash values without restricting the ability...CVE-2008-43107.8httputils.rb in WEBrick in Ruby 1.8.1 and 1.8.5, as used in Red Hat Enterprise Linux 4 ...CVE-2008-36567.8Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value funct...CVE-2008-27267.8Integer overflow in the (1) rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 bef...CVE-2008-27257.8Integer overflow in the (1) rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 bef...CVE-2008-26647.8The rb_str_format function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 be...CVE-2026-422457.5Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ru...CVE-2025-615947.5URI is a module providing classes to handle Uniform Resource Identifiers. In versions 0...CVE-2025-277887.5JSON is a JSON implementation for Ruby. Starting in version 2.10.0 and prior to version...CVE-2025-272207.5In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vu...CVE-2025-272197.5In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library c...CVE-2024-419467.5REXML is an XML toolkit for Ruby. The REXML gem 3.3.2 has a DoS vulnerability when it p...CVE-2024-411237.5REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabiliti...CVE-2021-418197.5CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. T...CVE-2021-418177.5Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Deni...CVE-2021-289657.5The 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...CVE-2020-256137.5An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2...CVE-2019-162017.5WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x thr...CVE-2018-87797.5In 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 ...CVE-2018-87787.5In 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 ...CVE-2018-87777.5In 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 ...CVE-2018-69147.5Directory traversal vulnerability in the Dir.mktmpdir method in the tmpdir library in R...CVE-2017-61817.5The parse_char_class function in regparse.c in the Onigmo (aka Oniguruma-mod) regular e...CVE-2017-140337.5The decode method in the OpenSSL::ASN1 module in Ruby before 2.2.8, 2.3.x before 2.3.5,...CVE-2016-77987.5The openssl gem for Ruby uses the same initialization vector (IV) in GCM Mode (aes-*-gc...CVE-2014-64387.5The URI.decode_www_form_component method in Ruby before 1.9.2-p330 allows remote attack...CVE-2009-44927.5WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8...CVE-2008-36577.5The dl module in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-...CVE-2008-36557.5Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 thro...CVE-2008-23767.5Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 a...CVE-2026-422467.4Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ru...CVE-2009-51477.3DL::dlopen in Ruby 1.8, 1.9.0, 1.9.2, 1.9.3, 2.0.0 before patchlevel 648, and 2.1 befor...CVE-2013-41646.8Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2...CVE-2013-40736.8The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8...CVE-2009-06426.8ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value fr...CVE-2012-53806.7Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p19...CVE-2026-422566.5Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ru...CVE-2025-438576.5Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ru...CVE-2019-158456.5Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 mishandles path checki...CVE-2020-81306.4There is an OS command injection vulnerability in Ruby Rake < 12.3.3 in Rake::FileList ...CVE-2013-20656.4(1) DL and (2) Fiddle in Ruby 1.9 before 1.9.3 patchlevel 426, and 2.0 before 2.0.0 pat...CVE-2011-10046.3The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through...CVE-2015-90966.1Net::SMTP in Ruby before 2.4.0 is vulnerable to SMTP command injection via CRLF sequenc...CVE-2025-64425.9Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allow...CVE-2014-27345.8The openssl extension in Ruby 2.x does not properly maintain the state of process memor...CVE-2008-39055.8resolv.rb in Ruby 1.8.5 and earlier, 1.8.6 before 1.8.6-p287, 1.8.7 before 1.8.7-p72, a...CVE-2019-118795.5The WEBrick gem 1.4.2 for Ruby allows directory traversal if the attacker once had loca...CVE-2026-422585.3Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ru...CVE-2025-587675.3REXML is an XML toolkit for Ruby. The REXML gems from 3.3.3 to 3.4.1 has a DoS vulnerab...CVE-2025-272215.3In the URI gem before 1.0.3 for Ruby, the URI handling methods (URI.join, URI#merge, UR...CVE-2024-351765.3 REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service v...CVE-2023-287565.3A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1....CVE-2019-162545.3Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response S...CVE-2017-177425.3Ruby 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...CVE-2011-36245.3Various methods in WEBrick::HTTPRequest in Ruby 1.9.2 and 1.8.7 and earlier do not vali...CVE-2014-80905.0The REXML parser in Ruby 1.9.x before 1.9.3 patchlevel 551, 2.0.x before 2.0.0 patchlev...CVE-2014-80805.0The REXML parser in Ruby 1.9.x before 1.9.3-p550, 2.0.x before 2.0.0-p594, and 2.1.x be...CVE-2014-49755.0Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x t...CVE-2013-18215.0lib/rexml/text.rb in the REXML parser in Ruby before 1.9.3-p392 allows remote attackers...CVE-2012-53715.0Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values witho...CVE-2012-45225.0The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2...CVE-2012-44665.0Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision ...CVE-2012-44645.0Ruby 1.9.3 before patchlevel 286 and 2.0 before revision r37068 allows context-dependen...CVE-2011-30095.0Ruby before 1.8.6-p114 does not reset the random seed upon forking, which makes it easi...CVE-2011-27055.0The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352...CVE-2011-26865.0Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easi...CVE-2011-10055.0The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1....CVE-2009-19045.0The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-d...CVE-2008-37905.0The REXML module in Ruby 1.8.6 through 1.8.6-p287, 1.8.7 through 1.8.7-p72, and 1.9 all...CVE-2008-34435.0The regular expression engine (regex.c) in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-...CVE-2008-18915.0Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1....CVE-2008-11455.0Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p1...CVE-2007-57705.0The (1) Net::ftptls, (2) Net::telnets, (3) Net::imap, (4) Net::pop, and (5) Net::smtp l...CVE-2013-02564.3darkfish.js in RDoc 2.3.0 through 3.12 and 4.x before 4.0.0.preview2.1, as used in Ruby...CVE-2012-44814.3The safe-level feature in Ruby 1.8.7 allows context-dependent attackers to modify strin...CVE-2007-51624.3The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries...CVE-2013-19453.3ruby193 uses an insecure LD_LIBRARY_PATH setting.
Showing the 100 highest-scored of 137. Every CVE has its own page, and the API returns all of them for a device.
Third-party components in Ruby-Lang products
CVEs filed for software that Ruby-Lang products include, such as an operating system or library. They affect the Ruby-Lang products and versions named on each CVE page.
CVE-2013-194810.0Rob Westgeest: converter.rb in the md2pdf gem 0.0.1 for Ruby allows context-depend...CVE-2022-287389.8Siemens: A double free was found in the Regexp compiler in Ruby 3.x before 3...CVE-2017-92259.8Oniguruma Project, Php: An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mo...CVE-2013-19479.3Kelly D. Redding: kelredd-pruview gem 0.3.8 for Ruby allows context-dependent attacke...CVE-2013-19339.3Documentcloud: The extract_from_ocr function in lib/docsplit/text_extractor.rb in ...CVE-2015-75518.4Apple: The Fiddle::Handle implementation in ext/fiddle/handle.c in Ruby be...CVE-2019-162558.1Oracle: Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 al...CVE-2024-497617.5Netapp: REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ...CVE-2024-261427.5Rubyonrails: Rails is a web-application framework. Starting in version 7.1.0, th...CVE-2023-227957.5Rubyonrails: A regular expression based DoS vulnerability in Action Dispatch <6....CVE-2022-287397.5Apple, Siemens: There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7...CVE-2021-289667.5Microsoft: In Ruby through 3.0 on Windows, a remote attacker can submit a craf...CVE-2020-52477.5Puma: In Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application...CVE-2020-106637.5Apple, Json Project: The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2....CVE-2017-92297.5Oniguruma Project, Php: An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mo...CVE-2013-56477.5Adam Zaninovich: lib/sounder/sound.rb in the sounder gem 1.0.1 for Ruby allows remot...CVE-2013-16557.5Puppet, Puppetlabs: Puppet 2.7.x before 2.7.21 and 3.1.x before 3.1.1, when running Rub...CVE-2013-01757.5Erik Michaels-Ober, Grape Project: multi_xml gem 0.5.2 for Ruby, as used in Grape before 0.2.6 and pos...CVE-2021-320667.4Oracle: An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3,...CVE-2010-24897.2Microsoft: Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might al...CVE-2021-317997.0Oracle: In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby thr...CVE-2013-19116.8Mark Burns: lib/ldoce/word.rb in the ldoce 0.0.2 gem for Ruby allows remote att...CVE-2013-02336.8Plataformatec: Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0...CVE-2011-01886.8Apple: The VpMemAlloc function in bigdecimal.c in the BigDecimal class in ...CVE-2024-433985.9Netapp: REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a ...CVE-2015-18555.9Puppet: verify_certificate_identity in the OpenSSL extension in Ruby before...CVE-2021-318105.8Oracle: An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3,...CVE-2023-366175.3Siemens: A ReDoS issue was discovered in the URI component before 0.12.2 for...CVE-2023-287555.3Siemens: A ReDoS issue was discovered in the URI component through 0.12.0 in...CVE-2020-109335.3Linux: An issue was discovered in Ruby 2.5.x through 2.5.7, 2.6.x through ...
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ruby-Lang","product":"Ruby","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.