Critical Security Update for ruby4.0: Addressing Denial of Service and Code Execution Vulnerabilities

ruby4.0 Updated 04 Jun 2026

Summary

26/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:20606: Important: ruby4.0 security update. Affects ruby4.0 versions < 4.0.3-34.el10_2. Fixed in 4.0.3-34.el10_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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity. It is widely used for web applications and system management tasks. The ruby4.0 package provides the core Ruby language features, while ruby4.0-devel includes development tools and libraries. The recent vulnerabilities identified in ruby4.0 can lead to severe security risks, including denial of service and arbitrary code execution, necessitating immediate attention from developers and system administrators.

Vulnerability Detail

The vulnerabilities in ruby4.0 stem from issues in the JSON and ERB libraries. Specifically, CVE-2026-33210 allows for denial of service or information disclosure through format string injection in the Ruby JSON library. Additionally, CVE-2026-41316 permits arbitrary code execution due to a deserialization bypass in the ERB library. These vulnerabilities can be exploited by attackers to disrupt services or execute malicious code, posing significant risks to applications relying on this version of Ruby.

How To Fix

Minimum fixed version

4.0.3-34.el10_2

This is the first release that contains the fix.

sudo dnf update ruby4.0

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

Workaround

If immediate updating is not feasible, consider restricting access to the affected services or implementing input validation to mitigate the risk of exploitation until the packages can be updated.

Conclusion

The vulnerabilities in ruby4.0 pose significant risks that can lead to denial of service and arbitrary code execution. It is essential for users to update to the patched versions of the affected packages promptly. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for ruby4.0 →

Share this vulnerability

FAQ

The main vulnerabilities are a denial of service or information disclosure via format string injection in the JSON library and arbitrary code execution via deserialization bypass in the ERB library.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you cannot update immediately, consider implementing input validation and restricting access to the affected services as a temporary workaround.

Versions prior to 4.0.3-34.el10_2 are affected by these vulnerabilities.

More information can be found on the CVE pages for CVE-2026-33210 and CVE-2026-41316, which provide detailed insights into the vulnerabilities and their impacts.

Related vulnerabilities

Recent vulnerabilities recorded for ruby4.0.

How To Fix

Minimum fixed version

4.0.3-34.el10_2

This is the first release that contains the fix.

sudo dnf update ruby4.0

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