Critical Security Update for ruby4.0: Denial of Service Vulnerability
Summary
ALSA-2026:72427: Important: ruby4.0 security update. Affects ruby4.0 versions < 4.0.6-37.el10_2. Fixed in 4.0.6-37.el10_2. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity. It is widely used for web development and scripting tasks. The ruby4.0 package, specifically designed for AlmaLinux 10, provides essential tools and libraries for Ruby programming. However, it has been identified to have a vulnerability that can lead to denial of service due to uncontrolled memory growth when processing crafted DNS responses.
Vulnerability Detail
The vulnerability, identified as CVE-2026-80212, arises from the resolv gem within ruby4.0. Attackers can exploit this flaw by sending specially crafted DNS responses, which can cause the application to consume excessive memory, leading to a denial of service. This can severely impact the availability of applications relying on Ruby for DNS resolution, making it critical for users to address this issue promptly.
How To Fix
Minimum fixed version
4.0.6-37.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
As a temporary workaround, users can limit the DNS responses processed by the application or implement rate limiting on DNS queries to mitigate the impact of this vulnerability until the update can be applied.
Conclusion
The ruby4.0 package has a critical vulnerability that can lead to denial of service through crafted DNS responses. It is essential for users to update to the latest patched version to ensure the security and availability of their applications. Temporary workarounds can be implemented until the update is applied.
See every vulnerability recorded for ruby4.0 →
FAQ
CVE-2026-80212 is a vulnerability in the ruby4.0 package that allows for denial of service through uncontrolled memory growth from crafted DNS responses.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
The vulnerability can lead to denial of service, making applications reliant on Ruby for DNS resolution unavailable, which can disrupt services and affect users.
Yes, a patch is available. Users should update to ruby4.0 version 4.0.6-37.el10_2 or later to mitigate the vulnerability.
If immediate updating is not possible, consider implementing rate limiting on DNS queries or restricting the DNS responses processed by your application as a temporary measure.
Related vulnerabilities
Recent vulnerabilities recorded for ruby4.0.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.