VDB

CVE-2026-80212

CVE-2026-80212 PUBLISHED CVSS 7.5 HIGH

Reported by mitre · Published August 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rubygem-rsserrata.rockylinux.org0.3.1-15.el10, 0.3.1-9.module
ruby-libs-debuginfoerrata.rockylinux.org4.0.6-35.module, 3.3.12-15.el10, 3.3.12-9.module, 3.0.7-168.el9
rubygem-psycherrata.rockylinux.org5.3.1-35.module, 5.1.2-9.module, 3.3.2-168.el9, 3.0.2-116.module
rubygem-bigdecimalerrata.rockylinux.org3.1.5-15.el10, 3.1.5-9.module, 1.3.4-116.module
rubygem-racc-debuginfoerrata.rockylinux.org1.7.3-9.module
rubygem-irberrata.rockylinux.org1.16.0-35.module, 1.13.1-15.el10, 1.13.1-9.module, 1.3.5-168.el9
rubygem-io-consoleerrata.rockylinux.org0.8.2-35.module, 0.7.1-15.el10, 0.7.1-9.module, 0.5.7-168.el9, 0.4.6-116.module
rubygem-bigdecimal-debuginfoerrata.rockylinux.org4.0.1-35.module, 3.1.5-15.el10, 3.1.5-9.module, 3.0.0-168.el9
rubygem-raccerrata.rockylinux.org1.8.1-35.module, 1.7.3-9.module
ruby-irberrata.rockylinux.org2.5.9-116.module
rubyerrata.rockylinux.org4.0.6-35.module, 3.3.12-15.el10, 3.3.12-9.module, 3.0.7-168.el9, 2.5.9-116.module
ruby-bundled-gemserrata.rockylinux.org4.0.6-35.module, 3.3.12-15.el10, 3.3.12-9.module

44 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Rubyresolv0, 0.4.0
amazon:2023ruby3.4-devel0
amazon:2023ruby3.4-rubygem-io-console0
amazon:2023ruby4.0-rubygem-rake0
wolfiruby-4.00
amazon:2023ruby4.0-rubygem-io-console0
chainguardruby-4.00
amazon:2023ruby3.40
amazon:2023ruby3.4-rubygem-test-unit0
amazon:2023ruby4.0-rubygem-rss0
amazon:2023ruby4.0-default-gems0
amazon:2023ruby4.0-bundled-gems0
wolfiruby-3.30
amazon:2023ruby3.4-rubygem-irb0
amazon:2023ruby4.0-rubygem-irb0
wolfiruby-3.40
amazon:2023ruby4.0-rubygems0
amazon:2023ruby4.0-rubygem-rdoc0
amazon:2023ruby4.0-rubygem-power_assert0
amazon:2023ruby4.0-libs0

…and 37 more

Timeline

  • Aug 27, 2026 Coalition ESS Score
  • Aug 27, 2026 CVE Published
  • Aug 27, 2026 CVE Updated
  • Aug 28, 2026 EPSS Score (28 in total, the first dated here)
  • Sep 2, 2026 Security Advisory (11 in total, the first dated here)
  • Sep 28, 2026 Distribution Patch (17 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80212
vulnetix vdb fixes CVE-2026-80212

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80212/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›