CVE-2026-80212

EUVD-2026-67138
An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::Resource.get_class, Resolv::DNS::Resource::Generic.create, and Resolv::DNS::SvcParam::Generic.create generate a new class for each unknown DNS resource record (type, class) pair, or each unknown SvcParamKey, encountered while decoding a response. Each generated class was permanently registered both as a constant on Resource (or SvcParam::Generic) and as an entry in a class-lookup hash (ClassHash), and thus the class remained reachable through that constant after the response was discarded. Type and class are each 16-bit values, and thus an attacker controlling DNS responses (a spoofed response, or a malicious or hijacked upstream DNS server) has roughly 2^32 distinct (type, class) pairs to choose from. A single response of a few hundred kilobytes carrying tens of thousands of distinct unknown types permanently grows process memory by tens of megabytes; repeated responses accumulate without bound and are never reclaimed by garbage collection, because the constant keeps each class alive. Any code path that calls Resolv::DNS::Message.decode on attacker-influenced DNS responses is affected. resolv is a default gem, and thus this is reachable from a plain Ruby installation without any additional dependency.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 32.41%
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
ruby
RHEL 9
0:3.0.7-168.el9_8
fixed
ruby-default-gems
RHEL 9
0:3.0.7-168.el9_8
fixed
ruby-devel
RHEL 9
0:3.0.7-168.el9_8
fixed
ruby-doc
RHEL 9
0:3.0.7-168.el9_8
fixed
ruby-libs
RHEL 9
0:3.0.7-168.el9_8
fixed
rubygem-bigdecimal
RHEL 9
0:3.0.0-168.el9_8
fixed
rubygem-bundler
RHEL 9
0:2.2.33-168.el9_8
fixed
rubygem-io-console
RHEL 9
0:0.5.7-168.el9_8
fixed
rubygem-irb
RHEL 9
0:1.3.5-168.el9_8
fixed
rubygem-json
RHEL 9
0:2.5.1-168.el9_8
fixed
rubygem-minitest
RHEL 9
0:5.14.2-168.el9_8
fixed
rubygem-power
RHEL 9
0:1.2.1-168.el9_8
fixed
rubygem-psych
RHEL 9
0:3.3.2-168.el9_8
fixed
rubygem-rake
RHEL 9
0:13.0.3-168.el9_8
fixed
rubygem-rbs
RHEL 9
0:1.4.0-168.el9_8
fixed
rubygem-rdoc
RHEL 9
0:6.3.4.1-168.el9_8
fixed
rubygem-rexml
RHEL 9
0:3.2.5-168.el9_8
fixed
rubygem-rss
RHEL 9
0:0.2.9-168.el9_8
fixed
rubygem-test-unit
RHEL 9
0:3.3.7-168.el9_8
fixed
rubygem-typeprof
RHEL 9
0:0.15.2-168.el9_8
fixed
rubygems
RHEL 9
0:3.2.33-168.el9_8
fixed
rubygems-devel
RHEL 9
0:3.2.33-168.el9_8
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
ruby3.4
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-bundled-gems
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-bundled-gems-debuginfo
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-debuginfo
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-debugsource
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-default-gems
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-devel
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-doc
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-libs
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-libs-debuginfo
Amazon Linux 2023
0:3.4.8-27.amzn2023.0.7
fixed
ruby3.4-rubygem-bigdecimal
Amazon Linux 2023
0:3.1.8-27.amzn2023.0.7
fixed
ruby3.4-rubygem-bigdecimal-debuginfo
Amazon Linux 2023
0:3.1.8-27.amzn2023.0.7
fixed
ruby3.4-rubygem-bundler
Amazon Linux 2023
0:2.6.9-27.amzn2023.0.7
fixed
ruby3.4-rubygem-io-console
Amazon Linux 2023
0:0.8.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-io-console-debuginfo
Amazon Linux 2023
0:0.8.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-irb
Amazon Linux 2023
0:1.14.3-27.amzn2023.0.7
fixed
ruby3.4-rubygem-json
Amazon Linux 2023
0:2.9.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-json-debuginfo
Amazon Linux 2023
0:2.9.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-minitest
Amazon Linux 2023
0:5.25.4-27.amzn2023.0.7
fixed
ruby3.4-rubygem-power_assert
Amazon Linux 2023
0:2.0.5-27.amzn2023.0.7
fixed
ruby3.4-rubygem-psych
Amazon Linux 2023
0:5.2.2-27.amzn2023.0.7
fixed
ruby3.4-rubygem-psych-debuginfo
Amazon Linux 2023
0:5.2.2-27.amzn2023.0.7
fixed
ruby3.4-rubygem-racc
Amazon Linux 2023
0:1.8.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-racc-debuginfo
Amazon Linux 2023
0:1.8.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-rake
Amazon Linux 2023
0:13.2.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-rbs
Amazon Linux 2023
0:3.8.0-27.amzn2023.0.7
fixed
ruby3.4-rubygem-rbs-debuginfo
Amazon Linux 2023
0:3.8.0-27.amzn2023.0.7
fixed
ruby3.4-rubygem-rdoc
Amazon Linux 2023
0:6.14.0-27.amzn2023.0.7
fixed
ruby3.4-rubygem-rexml
Amazon Linux 2023
0:3.4.4-27.amzn2023.0.7
fixed
ruby3.4-rubygem-rss
Amazon Linux 2023
0:0.3.1-27.amzn2023.0.7
fixed
ruby3.4-rubygem-test-unit
Amazon Linux 2023
0:3.6.7-27.amzn2023.0.7
fixed
ruby3.4-rubygem-typeprof
Amazon Linux 2023
0:0.30.1-27.amzn2023.0.7
fixed
ruby3.4-rubygems
Amazon Linux 2023
0:3.6.9-27.amzn2023.0.7
fixed
ruby3.4-rubygems-devel
Amazon Linux 2023
0:3.6.9-27.amzn2023.0.7
fixed
ruby4.0
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-bundled-gems
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-bundled-gems-debuginfo
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-debuginfo
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-debugsource
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-default-gems
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-devel
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-doc
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-libs
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-libs-debuginfo
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-bigdecimal
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-bigdecimal-debuginfo
Amazon Linux 2023
0:4.0.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-bundler
Amazon Linux 2023
0:4.0.3-32.amzn2023.0.4
fixed
ruby4.0-rubygem-io-console
Amazon Linux 2023
0:0.8.2-32.amzn2023.0.4
fixed
ruby4.0-rubygem-io-console-debuginfo
Amazon Linux 2023
0:0.8.2-32.amzn2023.0.4
fixed
ruby4.0-rubygem-irb
Amazon Linux 2023
0:1.16.0-32.amzn2023.0.4
fixed
ruby4.0-rubygem-json
Amazon Linux 2023
0:2.18.0-32.amzn2023.0.4
fixed
ruby4.0-rubygem-json-debuginfo
Amazon Linux 2023
0:2.18.0-32.amzn2023.0.4
fixed
ruby4.0-rubygem-minitest
Amazon Linux 2023
0:6.0.0-32.amzn2023.0.4
fixed
ruby4.0-rubygem-power_assert
Amazon Linux 2023
0:3.0.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-psych
Amazon Linux 2023
0:5.3.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-psych-debuginfo
Amazon Linux 2023
0:5.3.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-racc
Amazon Linux 2023
0:1.8.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-racc-debuginfo
Amazon Linux 2023
0:1.8.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-rake
Amazon Linux 2023
0:13.3.1-32.amzn2023.0.4
fixed
ruby4.0-rubygem-rbs
Amazon Linux 2023
0:3.10.0-32.amzn2023.0.4
fixed
ruby4.0-rubygem-rbs-debuginfo
Amazon Linux 2023
0:3.10.0-32.amzn2023.0.4
fixed
ruby4.0-rubygem-rdoc
Amazon Linux 2023
0:7.0.3-32.amzn2023.0.4
fixed
ruby4.0-rubygem-rexml
Amazon Linux 2023
0:3.4.4-32.amzn2023.0.4
fixed
ruby4.0-rubygem-rss
Amazon Linux 2023
0:0.3.2-32.amzn2023.0.4
fixed
ruby4.0-rubygem-test-unit
Amazon Linux 2023
0:3.7.5-32.amzn2023.0.4
fixed
ruby4.0-rubygem-typeprof
Amazon Linux 2023
0:0.31.1-32.amzn2023.0.4
fixed
ruby4.0-rubygems
Amazon Linux 2023
0:4.0.3-32.amzn2023.0.4
fixed
ruby4.0-rubygems-devel
Amazon Linux 2023
0:4.0.3-32.amzn2023.0.4
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
ruby
Azure Linux 3.0
0:3.3.5-9.azl3
fixed