Critical Security Vulnerability in Ruby Packages: Ruby Security Update Advisory

ruby Updated 07 Jul 2026

Summary

07/07/2026
N/A
Yes i
High
7.4

RHSA-2026:35895: Red Hat Security Advisory: ruby security update. Affects ruby versions < 0:3.3.10-11.el10_0.2. Fixed in 0:3.3.10-11.el10_0.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Ruby is a dynamic, open-source programming language known for its simplicity and productivity. It is widely used for web development, particularly with the Ruby on Rails framework. The Ruby ecosystem includes various packages, such as ruby-bundled-gems and rubygems, which are essential for managing Ruby libraries and dependencies. Recently, multiple vulnerabilities have been identified in these packages, necessitating immediate attention from developers and system administrators.

Vulnerability Detail

The vulnerabilities identified in the Ruby packages stem from improper handling of certain inputs, which could lead to potential code execution or data exposure. The specific CVEs associated with this advisory include CVE-2026-42245, CVE-2026-42246, and CVE-2026-42258. These vulnerabilities could allow an attacker to exploit the affected systems, leading to unauthorized access or manipulation of sensitive data. The severity of these vulnerabilities is underscored by a CVSS score of 7.4, indicating a high level of risk.

How To Fix

Minimum fixed version

0:3.3.10-11.el10_0.2

This is the first release that contains the fix.

sudo dnf update ruby

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider implementing strict input validation and sanitization to mitigate the risk of exploitation. Additionally, limit access to the affected systems and monitor for any unusual activity.

Conclusion

In summary, the Ruby security update advisory highlights critical vulnerabilities affecting various Ruby packages. It is essential for developers and system administrators to promptly update their systems to mitigate risks associated with these vulnerabilities. Utilizing tools like Vulert can aid in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

The advisory addresses vulnerabilities identified as CVE-2026-42245, CVE-2026-42246, and CVE-2026-42258.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.

The vulnerabilities have a CVSS score of 7.4, indicating a high level of risk.

Implement strict input validation and sanitization, limit access to affected systems, and monitor for unusual activity until you can apply the updates.

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0:3.3.10-11.el10_0.2

This is the first release that contains the fix.

sudo dnf update ruby

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback