CVE-2026-80212
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rubygem-rss | errata.rockylinux.org | 0.3.1-15.el10, 0.3.1-9.module |
| ruby-libs-debuginfo | errata.rockylinux.org | 4.0.6-35.module, 3.3.12-15.el10, 3.3.12-9.module, 3.0.7-168.el9 |
| rubygem-psych | errata.rockylinux.org | 5.3.1-35.module, 5.1.2-9.module, 3.3.2-168.el9, 3.0.2-116.module |
| rubygem-bigdecimal | errata.rockylinux.org | 3.1.5-15.el10, 3.1.5-9.module, 1.3.4-116.module |
| rubygem-racc-debuginfo | errata.rockylinux.org | 1.7.3-9.module |
| rubygem-irb | errata.rockylinux.org | 1.16.0-35.module, 1.13.1-15.el10, 1.13.1-9.module, 1.3.5-168.el9 |
| rubygem-io-console | errata.rockylinux.org | 0.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-debuginfo | errata.rockylinux.org | 4.0.1-35.module, 3.1.5-15.el10, 3.1.5-9.module, 3.0.0-168.el9 |
| rubygem-racc | errata.rockylinux.org | 1.8.1-35.module, 1.7.3-9.module |
| ruby-irb | errata.rockylinux.org | 2.5.9-116.module |
| ruby | errata.rockylinux.org | 4.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-gems | errata.rockylinux.org | 4.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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Ruby | resolv | 0, 0.4.0 |
| amazon:2023 | ruby3.4-devel | 0 |
| amazon:2023 | ruby3.4-rubygem-io-console | 0 |
| amazon:2023 | ruby4.0-rubygem-rake | 0 |
| wolfi | ruby-4.0 | 0 |
| amazon:2023 | ruby4.0-rubygem-io-console | 0 |
| chainguard | ruby-4.0 | 0 |
| amazon:2023 | ruby3.4 | 0 |
| amazon:2023 | ruby3.4-rubygem-test-unit | 0 |
| amazon:2023 | ruby4.0-rubygem-rss | 0 |
| amazon:2023 | ruby4.0-default-gems | 0 |
| amazon:2023 | ruby4.0-bundled-gems | 0 |
| wolfi | ruby-3.3 | 0 |
| amazon:2023 | ruby3.4-rubygem-irb | 0 |
| amazon:2023 | ruby4.0-rubygem-irb | 0 |
| wolfi | ruby-3.4 | 0 |
| amazon:2023 | ruby4.0-rubygems | 0 |
| amazon:2023 | ruby4.0-rubygem-rdoc | 0 |
| amazon:2023 | ruby4.0-rubygem-power_assert | 0 |
| amazon:2023 | ruby4.0-libs | 0 |
…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