CVE-2018-1000075: High severity Rubygems RubyGems vulnerability
Last updated 18 August 2025
Other sources
Negative size in ruby gem package tar header can cause and infinite loop.
Upstream fix:
https://github.com/rubygems/rubygems/commit/92e98bf8f810bd812f919120d4832df51bc25d83
External References:
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
— Red Hat
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a infinite loop caused by negative size vulnerability in ruby gem package tar header that can result in a negative size could cause an infinite loop.. This vulnerability appears to have been fixed in 2.7.6.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2018-1000075?
The severity of CVE-2018-1000075 is low.
How do I fix CVE-2018-1000075?
To fix CVE-2018-1000075, update RubyGems to version 2.7.6 or later.
What is the affected software for CVE-2018-1000075?
The affected software for CVE-2018-1000075 includes RubyGems versions: Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier.
Where can I find more information about CVE-2018-1000075?
You can find more information about CVE-2018-1000075 at the following references: http://blog.rubygems.org/2018/02/15/2.7.6-released.html, https://github.com/rubygems/rubygems/commit/92e98bf8f810bd812f919120d4832df51bc25d83, https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html.