Critical Security Update for Ruby: Denial of Service Vulnerability in DNS Resolv Gem

ruby Updated 29 Sep 2026

Summary

28/09/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:72785: Important: ruby security update. Affects ruby versions < 3.3.12-15.el10_2. Fixed in 3.3.12-15.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 an extensible, interpreted, object-oriented scripting language widely used for web development and system management tasks. It features a rich set of libraries and tools, making it a popular choice among developers. However, the recent discovery of a vulnerability in the resolv gem, which handles DNS resolution, poses a significant risk, allowing for potential denial of service attacks through uncontrolled memory growth when processing crafted DNS responses.

Vulnerability Detail

The vulnerability identified as CVE-2026-80212 affects the resolv gem within Ruby. It allows attackers to send specially crafted DNS responses that can lead to uncontrolled memory growth, resulting in a denial of service. This issue arises from improper handling of DNS responses, which can exhaust system resources and disrupt service availability. The impact of this vulnerability can be severe, especially for applications relying heavily on DNS resolution.

How To Fix

Minimum fixed version

3.3.12-15.el10_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

As a temporary workaround, you can limit the DNS responses your application processes or implement rate limiting on DNS queries to mitigate the impact of potential attacks until the update is applied.

Conclusion

The discovery of CVE-2026-80212 highlights a critical vulnerability in the Ruby resolv gem that can lead to denial of service attacks. It is crucial for developers and system administrators to update their Ruby packages to the patched versions to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for ruby →

Share this vulnerability

FAQ

CVE-2026-80212 is a vulnerability in the Ruby resolv gem 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 any signup.

The vulnerability can lead to denial of service, causing applications to become unresponsive due to excessive memory consumption.

Yes, a patch is available in the form of updated Ruby packages. Ensure you update to version 3.3.12-15.el10_2 or later.

If immediate updating is not possible, consider implementing rate limiting on DNS queries or restricting DNS responses processed by your application.

Related vulnerabilities

Recent vulnerabilities recorded for ruby.

How To Fix

Minimum fixed version

3.3.12-15.el10_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