cve.bz

CVE-2026-80212 ruby resolv

7.5 highEPSS 0.4%

High (7.5) in ruby resolv. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-08-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-80212 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-80212?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-80212?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-80212 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Ruby resolvbefore 0.3.2
Ruby resolvfrom 0.4.0 before 0.7.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby3.1no fix listedDEBIAN-CVE-2026-80212
Debian13ruby3.33.3.13-0+deb13u1DEBIAN-CVE-2026-80212 DSA-6614-1
Debian14ruby3.3no fix listedDEBIAN-CVE-2026-80212
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 7 more0:3.3.12-9.module+el8.10.0+24850+a62b5b25RHSA-2026:72285
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.10.0+22021+135c76a8RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.10.0+21226+b78a28c4RHSA-2026:72285
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.1.5-9.module+el8.10.0+24850+a62b5b25RHSA-2026:72285
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.9.0+19193+435404aeRHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:2.5.22-9.module+el8.10.0+24850+a62b5b25RHSA-2026:72285
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-5.module+el8.10.0+23088+750dc6caRHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.4.6-116.module+el8.10.0+24853+52b5af56RHSA-2026:73519
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.7.1-9.module+el8.10.0+24850+a62b5b25RHSA-2026:72285
285 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important denial of service vulnerability in the Ruby `resolv` gem, which is part of the Ruby standard library. An attacker can trigger unbounded memory growth by sending specially crafted DNS responses, either through spoofing or a compromised DNS server. This can lead to resource exhaustion and system instability, possibly affecting other applications than those written in Ruby and using the `resolv` gem.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10ruby4.0-0:4.0.6-37.el10_2Fixed 2026-09-28RHSA-2026:72427
Red Hat Enterprise Linux 10ruby-0:3.3.12-15.el10_2Fixed 2026-10-02RHSA-2026:72785
Red Hat Enterprise Linux 10.0 Extended Update Supportruby-0:3.3.12-12.el10_0Fixed 2026-10-15RHSA-2026:83570
Red Hat Enterprise Linux 8ruby:3.3-8100020260909091101.489197e6Fixed 2026-09-28RHSA-2026:72285
Red Hat Enterprise Linux 8ruby:2.5-8100020260923114349.489197e6Fixed 2026-09-30RHSA-2026:73519
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportruby:2.5-8040020261007063956.522a0ee4Fixed 2026-11-05RHSA-2026:95512
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onruby:2.5-8040020261007063956.522a0ee4Fixed 2026-11-05RHSA-2026:95512
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportruby:2.5-8060020261006170103.ad008a3aFixed 2026-11-05RHSA-2026:95513
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onruby:2.5-8060020261006170103.ad008a3aFixed 2026-11-05RHSA-2026:95513
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceruby:2.5-8080020261006163955.63b34585Fixed 2026-11-05RHSA-2026:95514
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsruby:2.5-8080020261006163955.63b34585Fixed 2026-11-05RHSA-2026:95514
Red Hat Enterprise Linux 9ruby-0:3.0.7-168.el9_8Fixed 2026-09-28RHSA-2026:72286
Red Hat Enterprise Linux 9ruby:4.0-9080020260909091105.9Fixed 2026-09-28RHSA-2026:72484
Red Hat Enterprise Linux 9ruby:3.3-9080020260909091103.9Fixed 2026-09-28RHSA-2026:72485
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Red Hat 3scale API Management Platform 23scale-amp2/backend-rhel8Not affected
Red Hat 3scale API Management Platform 23scale-amp2/toolbox-rhel9Not affected
Red Hat Enterprise Linux 6rubyOut of support scope
Red Hat Enterprise Linux 7rubyAffected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-80212.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON